Unresolved external symbol CompleteAuthToken referenced

While porting a desktop app to a Windows mobile phone, I encountered the following error:

Error LNK2019: Unresolved external symbol CompleteAuthToken referenced in Function

Reading MSDN tells me that CompleteAuthToken is supported in Windows CE 2.10 and later, and I should be linking to Secur32.lib, but adding that the library did not fix the unresolved symbol error. Any ideas?

Note. I am using Visual Studio 2008 + Windows Mobile 6.0 SDK.

+1


source to share


2 answers


I think the MSDN docs are wrong. Looking at the Platform Builder source I can see that CompleteAuthToken () is in schannel.def and that it is embedded in schannel.lib and not secure32.lib. See if this change helps.



+1


source


Have you included Security.h?



http://msdn.microsoft.com/en-us/library/aa374764(VS.85).aspx

-1


source







All Articles