I'm trying to link Target with a dll (because reasons
), but nothing I try works.
int dll = LoadLibrary("vXboxInterface.dll"); //C:\\bin\\vXbox\\vXboxInterface.dll
printf("DLL address: %d\xa",dll);
if (!dll) {
printf("Failed loading vXboxInterface.dll, file not found.\xa");
return 1;
}
else printf("Loaded vXboxInterface.dll\xa");
If I put Kernel32.dll in there, it loads fine, I can see the address printed out. This dll won't load though. I tried specifying a full path, I put the folder into windows PATH, I moved the dll to a nice simple path with no spaces, I copied the dll into the Target folder, Target\x64 folder, Target\Plugins. Nothing. I even tried putting it in Windows\System32. It's like the dll isn't there.