How to load DLL from memory, not disk
-
yes,the above mr say right,what file or function do you indeed want ?which dll the function is in? for example,i want to use GradientFill function in msinmg32.dll to draw gradient rectange i can do this way: hinst_msimg32 = LoadLibrary( "msimg32.dll" ); m_bCanDoGradientFill = FALSE; if(hinst_msimg32) {m_bCanDoGradientFill = TRUE; dllfunc_GradientFill = ((LPFNDLLFUNC1) GetProcAddress( hinst_msimg32, "GradientFill" )); }}
-
What do you want to do exactly? What function do you need? Papa while (TRUE) Papa.WillLove ( Bebe ) ;
-
I need LoadLibrary from memory, not from file. Just like: BOOL MyLoadLibrary(PBYTE LibCode);
-
I know an assembly way, if interested send me a mail Papa while (TRUE) Papa.WillLove ( Bebe ) ;
Wow..... It's realy?! Send it to me: winddriver@msn.com Thank u very much~~~~~~~~~~~
-
DLLs automatically use shared memory for READ-ONLY areas. Due Regards Mahendra