|
-
Nov 5th, 2000, 06:59 AM
#1
Thread Starter
PowerPoster
I am having trouble loading Dll's at run time. I know that there are functions LoadLibrary & GetProcAddress but I am unable to make any use of it. The LoadLibrary executes perfectly, but GetProcAddress returns 0. Moreover, how am I to use both these return values in my program.
-
Nov 5th, 2000, 07:46 AM
#2
Monday Morning Lunatic
You can't use DLL loading in VB, because it doesn't have any pointers. What GetProcAddress does is return a valid function pointer, but pointerless languages such as VB cannot use this.
The only way this can work is to use an external DLL to handle your funcion calls.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|