Author | Message | Time |
---|---|---|
mentalCo. | when i try and compile using the hashing.h and cpp files i get link errors. ive even made a completely blank program and included hashing.h and still same link errors: [code] Linking... Hashing.obj : error LNK2001: unresolved external symbol _VerQueryValueA@16 Hashing.obj : error LNK2001: unresolved external symbol _GetFileVersionInfoA@16 Hashing.obj : error LNK2001: unresolved external symbol _GetFileVersionInfoSizeA@8 Debug/main.exe : fatal error LNK1120: 3 unresolved externals Error executing link.exe. main.exe - 4 error(s), 0 warning(s) [/code] | July 16, 2004, 3:59 PM |
Newby | Make sure you include "Version.lib" (If you're using VC++ go to Project -> Settings [Alt + F7] -> Link) | July 16, 2004, 4:02 PM |
mentalCo. | aha! | July 16, 2004, 4:30 PM |
Maddox | Or you could write this in Hashing.cpp. [code] #pragma comment(lib, "version.lib") [/code] | July 16, 2004, 10:27 PM |