Crypt works on PPC 2003 but not with PPC 2003 emulator

M

Morten

I have just created a PPC 2003 application where I make use of some methods
from the CryptoAPI. Due to the lack of Cryptography methods in the compact
framework, I have use DllImport for these methods:

CryptAcquireContext
CryptReleaseContext
CryptGetProvParam
CryptCreateHash
CryptHashData
CryptDeriveKey
CryptDestroyHash
CryptEncrypt
CryptDecrypt

My application runs fine on my Pocket PC 2003 device, but when I run it with
the PPC 2003 emulator the crypto functions returns an exception. Also on
Pocket PC 2002 devices the crypto API seems to be broke. Does anyone know
how to fix this problem ?

I have tried to install the High Encryption Pack on the PPC 2002 device, but
still it does not work.

Best regards,
Morten
 
G

Ginny Caughey [MVP]

Morten,

It sounds like the 2003 emulator doesn't support those functions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top