I am getting same
error, while upgrading the VS6.0 application to VS2013 platform.
a. error LNK2019: unresolved external symbol _GetFileVersionInfoSizeA@8 referenced in function _main
a. error LNK2019: unresolved external symbol _GetFileVersionInfoSizeA@8 referenced in function _main
b. error LNK2019:
unresolved external symbol _GetFileVersionInfoA@16 referenced in function _main
c.
error LNK2019: unresolved external symbol _VerQueryValueA@16 referenced in
function _main
Resolution:
Resolution:
I found that it is due
to missing reference to library "Version.lib".
a.
For VS6.0 add it to Project Setting->Link->library modules
b.
For VS2012 or 2013 add to Project
Properties->Linker->Input->Additional Dependancies
Type Version.lib and Click Ok problem Solved :)
Courtesy: Stack Over Flow
Reason:
The functions GetFileVersionInfo and GetFileVersionInfoSize are defined in Version.dll and Version.lib so make sure, you are liking to the appropriate libraries.
Type Version.lib and Click Ok problem Solved :)
Courtesy: Stack Over Flow
Reason:
The functions GetFileVersionInfo and GetFileVersionInfoSize are defined in Version.dll and Version.lib so make sure, you are liking to the appropriate libraries.
No comments:
Post a Comment