Re: _CRYPT problem between Win2000 and XP
From: Stefan Wuebbe (stefan.wuebbe_at_gmx.de)
Date: 11/29/04
- Next message: Stefan Wuebbe: "Re: 0x80070005 after installed SP2 of WinXP on server."
- Previous message: Fred Taylor: "Re: TABLEUPDATE returns .T. but fails to change data in base table"
- In reply to: Chrispy: "_CRYPT problem between Win2000 and XP"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 29 Nov 2004 08:24:24 +0100
> I also changed the line in the wincrypt.h file to...
> #DEFINE dsMS_DEF_PROV_A "Microsoft Enhanced Cryptographic Provider v1.0"
You're right, different Crypto Provder versions are usually causing
that effect - did you make sure that the constant above is actually
assigned to your crypto object's .cProvidername property at
runtime?
hth
-Stefan
"Chrispy" <Chrispy@discussions.microsoft.com> schrieb im Newsbeitrag
news:40E2E7CC-8673-4A29-97D2-121F55CC9F05@microsoft.com...
> I've got the same problem as other users have found when trying to use the
> _crypt.vcx class and getting different encrypted strings between the 2OS's.
>
> On the Win2K machine , I had 2 references. One to the rsabase.dll in the
> Microsoft Base Cryptographic Provider v1.0 key and the other to the
> rsaenh.dll file in the Microsoft Enhanced Cryptographic Provider v1.0 key
> So I changed the Base one to also point to the rsaenh.dll file
>
> I also changed the line in the wincrypt.h file to...
> #DEFINE dsMS_DEF_PROV_A "Microsoft Enhanced Cryptographic Provider v1.0"
>
> After compiling with these changes it still did not work.
>
> I noticed the dll on the Win2K machine (SP4), was older than the one on the
> XP Home machine (SP1), so I tried to install the newer one on the 2000
> machine, but Windows would not let this file get updated.
>
> Does anyone have any ideas on why they don't encrypt to the same result?
>
> With Thanks,
> Chris
- Next message: Stefan Wuebbe: "Re: 0x80070005 after installed SP2 of WinXP on server."
- Previous message: Fred Taylor: "Re: TABLEUPDATE returns .T. but fails to change data in base table"
- In reply to: Chrispy: "_CRYPT problem between Win2000 and XP"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|