Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with C base DLLs
Message
 
 
À
05/11/2004 15:03:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
00958663
Message ID:
00958671
Vues:
19
You can try NSDPGP COM Wrapper to PGP from http://community.wow.net/grt/nsdpgp.html

>I am working with an SDK that requires me to be an experienced C programmer in order to understand and use. Well, I have never worked with C and have been trying to hack my way through this SDK but am having little success. First of all, the SDK is for a product called PGP. I've never heard of PGP before, but from what I understand it's a well known encryption platform. If you've used it before, maybe you could help me understand how to use it with FoxPro. If not, then I'll give you some more background...
>
>The product came with several .dll and .lib files. The first thing I tried to do was register the .dll files using regsvr32. Well, it didn't like that and came back with the message "The .dll was loaded but the DllRegisterServer entry point was not found". I've never seen that before but I tried to continue on. So now I try and create an instance of this product. The following is an excerpt from the Programmer's guide provided:
>______________________
>The basic setup code for a simple encryption operation looks something like this:
>
>/* Initialize the PGP SDK libs */
>err = PGP SDKInit( 0 );
>if ( IsPGPError( err ) )
>goto Exit;
>
>(...)
>
>A basic rule for programming with the PGP SDK is that you must always call PGP SDKInit() once to initialize the PGP SDK library before you attempt to do anything else with PGP.
>_______________________
>
>I have tried several different commands to try to intialize this SDK library but the best I can do is this:
>
>DECLARE INTEGER SDKInit IN PGPsdk.dll INTEGER err
>err = SDKInit( 0 )
>
>and I get the message back:
>
>Cannot find entry point SDKInit in the DLL
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform