|
-
March 6th, 2025, 10:14 AM
#9
Re: LoadLibrary returns 0
 Originally Posted by 2kaud
Shouldn't \ inside " be \\ ? It should be in c++ but vb??
hinstLib = LoadLibrary("C:\\Users\\epperbx\\source\\repos\\_EPIQ Util DLL_\\Debug\\EPIQ Util.dll")
Thanks for the input. I did not have to do the double slashes to get the code to finally load the dll. Not sure what the fixe was, as I compiled multiple times after minor tweeks to try and get the library to load. I'm just glad the LoadLibrary function works. Now I get to fight with GetProcAddress. Since the loadlibrary is working I'm focusing in on the DLL side, only makes sense to me.
Anything seen from the calling Code above that looks out of place? I'm off to fiddle with the DLL side to see what I can find as to why the function can't pull in the address of the function.
Thanks for your input.
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
|