Anthony Jennings wrote on 2013-07-29: 
>  For those that are curious, I finally got this to work. Had to display on
a projector to my fellow workers could spot it
>  I cut and pasted from a C# code snippet. It was  (as you see below):
>  lnStatus = CryptDeriveKey(hCryptProv, dnCALG_RC2, lhHashObject,
>  dnCRYPT_EXPORTABLE, &hKey )
>  
>  I needed the @ sign for vfp, the & is C#.
>  
>  Just shoot me.
>  
>  hKey = 0
>  DECLARE INTEGER CryptDeriveKey ;
>       IN WIN32API as CryptDeriveKey;
>      INTEGER hProv,;
>      INTEGER Algid,;
>      INTEGER hBaseData,;
>      LONG dwFlags,;
>      INTEGER @phKey
>       
>       *- set up RC2 key
>  
>       lnStatus = CryptDeriveKey(hCryptProv, dnCALG_RC2, lhHashObject,
dnCRYPT_EXPORTABLE, @hKey )
>  

Anthony,

Glad you found it.

Tracy Pearson
PowerChurch Software


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to