When I'm trying to load nss3.dll to load some functions, i get a 126 error. Dll located in C:\TEMP Code:
SetDllDirectory("C:\\TEMP");
HMODULE hNSS = LoadLibrary("nss3.dll");
if (hNSS)
{
cout << "OK";
}
else
{
cout << GetLastError();
}
I tried write it differently, but i always get this error.