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.
fatal error C1113: #using failed on 'c:\yahoologinc\ymsg12encrypt.dll
This also don't work
HMODULE hMod = LoadLibrary("YMSG12ENCRYPT.DLL");
I think the .dll was written in vb.
error C2664: 'LoadLibraryW' : cannot convert parameter 1 from 'const char ' to 'LPCWSTR'
What am I missing on this?