I want to use ILCreateFromPath() from shell32.dll but i can't because
GetProcAddress always return NULL.
Here's my code:
header:
typedef HANDLE (__stdcall *LPILCFP)(LPCWSTR);
LPILCFP lpILCreateFromPath;
/-----------------------------------------------------------------------------------
Cpp:
HANDLE hShell = ::GetModuleHandle("shell32.dll"); // I've tried with
LoadLibrary(): same result
if (!hShell) // hSell is not NULL
return;
lpILCreateFromPath = (LPILCFP) ::GetProcAddress(hShell,
MAKEINTRESOURCE(190)); //
lpILCreateFromPath //
is NULL here
Have somebody any idea?
Thanks you.