我从这里下载了传递哈希工具包源代码.当我使用Visual Studio Ultimate 2010进行编译时,我会收到以下错误:
findfuncs_msv10.obj : error LNK2019: unresolved external symbol _GetModuleInformation@16 referenced in function _FindMSV10Functions
whosthere-alt.obj : error LNK2019: unresolved external symbol _LsaFreeReturnBuffer@4 referenced in function _GetLogonSessionData
whosthere-alt.obj : error LNK2019: unresolved external symbol _LsaGetlogonSessionData@8 referenced in function _GetLogonSessionData
whosthere-alt.obj : error LNK2019: unresolved external symbol _LsaEnumerateLogonSession@8 referenced in function _main
Run Code Online (Sandbox Code Playgroud)
如何解决此错误或是否有另一种更好的方法来编译代码.我是C的新手,我对任何建议持开放态度.
更新:我已链接Secur32.lib和Psapi.lib并进行编译.非常感谢
听起来您需要链接到一些其他库。
如果您在MSDN中搜索错误(减去前导下划线)中列出的函数,它会显示要链接到的库。
例如
| 归档时间: |
|
| 查看次数: |
268 次 |
| 最近记录: |