-
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.
-
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.