There are 5 errors
Line 37:excess elements in aggregate initialzier
Line 97:function 'LRESULT HookProc(int, WPARAM,LPARAM)' definition is marked dllimport
Line 102:function 'void InstallHook()' definition is marked dllimport
Line 108:fucntion 'void RemoveHook()' definition is marked dllimport
[Build Error] [dllmain.o] Error 1
i did not write this thus I do not take credit for it, it is hijacking the GetVersionExA from a install file I am trying to isntall but it was made before winxpx64 came out thus, the version numbers are not up to date so this will let it install, i would contact the writer of the dll, ubt alas, he is not online.
Any help would be greatly appreciated. Any other needed information I will be hjappy to give, the ddraw.h is in "" because I had to copy->paste it into the project folder to get detected.