I have no experience with dynamic link libraries. The examples my book provide use the “#using” keyword.
i.e #using <mscorlib.dll>
I have a .dll used for encrypting the username and password when loging into Yahoo Messenger. I copied the .dll to my project folder and used this code to link it.
Error:Code:#ifndef __login_h__ #define __login_h__ #using <YMSG12ENCRYPT.DLL> #endif
Code:fatal error C1113: #using failed on 'c:\yahoologinc\ymsg12encrypt.dll
This also don't work
Error:Code:HMODULE hMod = LoadLibrary("YMSG12ENCRYPT.DLL");
I think the .dll was written in vb.Code:error C2664: 'LoadLibraryW' : cannot convert parameter 1 from 'const char ' to 'LPCWSTR'
What am I missing on this?