This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Forum
- :
- Re: Link Error unresolved external symbol _WinVerifyTrust@12
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 08, 2015
01:03 PM
Link Error unresolved external symbol _WinVerifyTrust@12
I am trying to build the licensable app in VC++ 2010 with Flexnet 11.11.1.0 and get the unresolved external symbol error from lmgr.lib
unresolved external symbol _WinVerifyTrust@12 referenced in function _aL5zhPIEqLYaj from lmgr.lib
I would like to know which library is missing. Any suggestions would be greatly appreciated.
We are using the license-file based licensing.
jwnag
unresolved external symbol _WinVerifyTrust@12 referenced in function _aL5zhPIEqLYaj from lmgr.lib
I would like to know which library is missing. Any suggestions would be greatly appreciated.
We are using the license-file based licensing.
jwnag
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 19, 2015
04:31 PM
Hello jwnag,
Based on the error message it seems like you need to link against Wintrust.lib.
Reference: MSDN Page for WinVerifyTrust http://msdn.microsoft.com/en-us/library/windows/desktop/aa388208.aspx
I hope that it helpful,
Sean
Based on the error message it seems like you need to link against Wintrust.lib.
Reference: MSDN Page for WinVerifyTrust http://msdn.microsoft.com/en-us/library/windows/desktop/aa388208.aspx
I hope that it helpful,
Sean
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 20, 2015
11:50 PM
sean.donno wrote:
Hello jwnag,
Based on the error message it seems like you need to link against Wintrust.lib.
Reference: MSDN Page for WinVerifyTrust http://msdn.microsoft.com/en-us/library/windows/desktop/aa388208.aspx
I hope that it helpful,
Sean
Hi, Sean,
Thanks for your input.
I have checked that Wintrust.lib is included in the lib path of the project (C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib). lmgr.lib depends a few libs from that location. They all are linked ok. For some reason, it seems that the linker fails to link to Wintrust.lib. I am wondering what could be the problem.
jwang
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 21, 2015
12:05 AM
Hi, Sean,
Thanks for your input.
I have checked that Wintrust.lib is included in the lib path of the project (C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib). lmgr.lib depends a few libs from that location.They all are linked ok. For some reason, it seems that the linker fails to link to Wintrust.lib.
jwang
Thanks for your input.
I have checked that Wintrust.lib is included in the lib path of the project (C:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib). lmgr.lib depends a few libs from that location.They all are linked ok. For some reason, it seems that the linker fails to link to Wintrust.lib.
jwang
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)