简体   繁体   中英

Unresolved external symbol CompleteAuthToken referenced

While porting a desktop application to windows mobile I've reached the following error:

Error LNK2019: unresolved external symbol CompleteAuthToken referenced in function

Reading MSDN it tell me that CompleteAuthToken is supported on Windows CE 2.10 and later and I should link against Secur32.lib, but adding that library didn't fix the unresolved symbol error. Any ideas?

Note: I'm using Visual Studio 2008 + Windows Mobile 6.0 SDK.

I think the MSDN docs are wrong. Looking in the Platform Builder source, I see that CompleteAuthToken() is in schannel.def and that it gets built into schannel.lib, not secure32.lib. See if making that change helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM