Hi

Decrypting a win2k encrypted string does not work in winxp and vice versa.

Using DecryptSessionStreamString+EncryptSessionStreamString and have set the
property
.cProviderName = "Microsoft Base Cryptographic Provider v1.0"

Should'nt this be enough to ensure compability between win2k/winxp and
future windows versions ?

TIA
Michael S. Jensen

Re: VFP 9.0, _cryptapi, win2k / winxp by Michael

Michael
Thu Apr 06 17:16:25 CDT 2006

My mistake, expected the foundation class to retrieve the provider handle
when doing the first encryption/decryption - not in the init-method.

A c_ProviderName parameter for the init-method would have been nice.

/MSJ


"Michael S. Jensen" <msj@of.dk> wrote in message
news:#iOp$nbWGHA.4148@TK2MSFTNGP03.phx.gbl...
> Hi
>
> Decrypting a win2k encrypted string does not work in winxp and vice versa.
>
> Using DecryptSessionStreamString+EncryptSessionStreamString and have set
the
> property
> .cProviderName = "Microsoft Base Cryptographic Provider v1.0"
>
> Should'nt this be enough to ensure compability between win2k/winxp and
> future windows versions ?
>
> TIA
> Michael S. Jensen
>
>