Click to See Complete Forum and Search --> : Loading a DLL
falcon1
July 27th, 2005, 05:21 PM
Hi,
how can I invoke a FARPROC which has the address of a DLL process found by the GetProcAddress API? Is there any other way to invoke a DLL process(without VC++)?:confused:
msanford
July 27th, 2005, 05:48 PM
From my experiance (and I could be wrong) but if GetProcAddress does not find it, it usually does not exist. You know that if a function in exported with a __stdcall instead of __cdecl that the size of the argument list is included in the exprted name (allows for function overloading). Open the DLL in the Dependancy walker to get the Name of your function for certian.
falcon1
July 28th, 2005, 07:48 AM
Well, I wasn't actually saying that...
I mean, in assembly we use GetProcAddress and then we use call [proc].
What is the equivalent of the call command in C++?
SouthernCodeMonkey
July 28th, 2005, 08:46 AM
Greetings.
See the following MSDN documentation:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_getprocaddress.asp
Regards.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.