I'm working a on project to use the SDK from https://github.com/hypersen/HPS3D_SDK
but I'm having troubles loading the DLL file, it returns me an error 126 for "libhps3d32.dll" and error 193 while using "libhps3d64.dll". I've seen many posts regarding these 2 errors but none of the solution so far works for me. Please help!
The dll file is the same location as the exe file. I've tried disabling my anti virus too, didn't help.
printf("Hello world!\n");
/*LoadLibrary */
HMODULE module = LoadLibraryA((LPCSTR)"C:\\Users\\xx\\Desktop\\xx\\libhps3d32.dll");
//printf("module loaded %d)",module);
if (module == NULL)
{
DWORD error_id = GetLastError();
printf("error load %d\n",error_id);
return;
}