Calling DLL Functions WITHOUT Declare?
Visual Basic
1
Posts
1
Posters
3
Views
1
Watching
-
I want to be able to call a function in a DLL at run-time, without first putting a DECLARE in my VB program at design-time. Any sneaky ideas? Here's a little head-start that maybe someone out there can help me with. I can call the LoadLibrary API function to get a handle to the DLL I want. Then, with this handle and the name of the function I want, I can call the GetProcAddress API to get the address of the function. In C++, I could simply jump to this address, but how can I call this function by its address in Visual Basic? Anyone know? THANKS! Jase