Re:Loading a DLL without LoadLibrary
Posted: Mon Apr 19, 2004 9:52 am
I never said the return type was the problem... I mentioned two things: The memory alignment, and the imports table, but not the return type... Now I have another theory, the memory protection... my guess, i'm trying to access a part of a memory that I haven't allocated correctly... it exists, but it should be alocated somewhere else that where it stands... Maybe VirtualAlloc isn't the solution... You said you have ported the code into win32... How did you allocate the memory??