User reports gdpiplus.dll error when trying to run my program - redistributable issue?

simonx 126 Reputation points
2020-12-22T20:57:33.667+00:00

One user has reported the following error when he tries to run my Visual Studio 2019 C++ MFC application:

A message box appears with caption "Entry Point Not Found" and body that says: "The procedure entry point GdipConvertToEmfPlus could not be located in the dynamic link library gdpiplus.dll".

I do use gdiplus in my application. Is it possible that I am not doing something I should be doing with redistributables? When the user installs my application I run VC_redist.x86.exe, which is described as "Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.24.28127". That's all I do. After some searching I found a more recent one: "Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.28.29325". Is it possible that if he runs the latter this will fix the problem? Can I just send him the latter as an EXE and tell him to run it? Should I include the latter in the next version of my application? Is that safe?

How are we supposed to know when a new redistributable has been created incidentally? I only found the new one because a user reported the problem.

I see that there is also a site: https://platform-sdk-redistributable-gdi.win10download.net/. What's that about? Should I tell him to go there and try downloading the latest GDI+ redistributable?

All help very much appreciated.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,682 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 82,031 Reputation points
    2020-12-23T13:22:19.133+00:00

    You wrote "gdpiplus.dll", you probably meant GdiPlus.dll...

    GdipConvertToEmfPlus was not present in GdiPlus.dll v5.x,
    but was in >= v6.x