0

Oh, I don't know what's the matter with this loadlibrary("MSVCR90d.dll").

It always return 0x00000000.

Here is code.

HModule hMod = LoadLibrary("MSVCR90D.dll");

Please tell me the reason.

< I simply made MFC Application Program. >

bTagTiger
  • 1,261
  • 5
  • 23
  • 38

1 Answers1

2

Do a call to GetLastError() after the failure to get a little more info. It's either that your app can't find it or that a dependency of the DLL itself is not found.

Install Dependency Walker and right-click on MSVCR90D.dll to 'View Dependencies' to see if that DLL itself can load ok.

snowdude
  • 3,854
  • 1
  • 18
  • 27