Anthony Jennings wrote on 2013-07-23: > Well, I'm getting closer. > Add this: > DECLARE INTEGER CryptDeriveKey ; > IN WIN32API as CryptDeriveKey; > INTEGER hProv,; > INTEGER Algid,; > INTEGER hBaseData,; > LONG dwFlags,; > INTEGER @phKey > > *- set up RC2 key > *-hKey = "jOsmwux8tIy1aN3Urq08" > *lnStatus = CryptDeriveKey(&hCryptProv, dnCALG_RC2, lhHashObject, 0x00800000, &hKey ) > > lnStatus = CryptDeriveKey(hCryptProv, dnCALG_RC2, lhHashObject, dnCRYPT_EXPORTABLE, &hKey ) > > realized I'm supposed to get a handle pointer - hKey. Not provide it. Now the error message "...is missing operand" > I've requested the complete Dot Net module, in its entirety and natural state. > > -they gave what they thought was pertinent.- >
Anthony, Have you looked at the _cryptapi class library in the FFC folder under the vfp install folder? Or, you can get a subscription and get an example from http://www.news2news.com/vfp/?example=511 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.

