Microsoft KB Archive/247418

{|
 * width="100%"|

PRB: No Cryptography API (CAPI) Support Within Handheld PC SDK

 * }

Q247418

-

The information in this article applies to:


 * Microsoft Windows CE versions 2.0, 2.11, 2.12, 3.0 Professional Edition for the Handheld PC

-

SYMPTOMS
You cannot use the Cryptography API (CAPI) within an application written for a Windows CE Handheld PC or a H/PC Pro device.

You can compile the application without a problem; however, the linker may stop working, with the following error message:

crypto1.obj : error LNK2001: unresolved external symbol __imp_CryptReleaseContext

crypto1.obj : error LNK2001: unresolved external symbol __imp_CryptAcquireContextW

WMIPSRel/crypto1.exe : fatal error LNK1120: 2 unresolved externals

CAUSE
The appropriate references are missing from the Coredll.lib file that is delivered with the Handheld PC Professional 3.0 Software Development Kit (SDK) and the Handheld PC 2.0 SDK.

STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

MORE INFORMATION
When you build the same application for a Palm-Size PC, this problem does not occur. When using the Palm-Size PC 1.2 SDK, the CryptReleaseContext and CryptAcquireContextW functions are referenced within the Coredll.lib file.

Additional query words: CAPI Cryptography unresolved external symbol

Keywords : kbWinCE200 kbWinCE211 kbDSupport kbWinCE212

Issue type : kbprb

Technology :