Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C++ Dlls
Message
 
 
À
08/04/2004 19:45:46
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00893443
Message ID:
00893510
Vues:
16
Hi Paul,

The names of API functions in DECLARE statement are case-sensitive. If you've VS6, you can verify function names in DLL using Dependency Walker.

>Hi
>
>I have a SDK of C++ Dll''s and was looking for some help on how to use them in VFP.
>
>For example I have the following function in one of the DLL's
>
>BOOL LIBAPI MT_SDKInit (DWORD ulReserved);
>
>Parameters
>
>ulReserved reserved for future use, currently set to NULL
>
>Returns
>
>Boolean Returns TRUE (1) if initialization is successful, FALSE (0) if not
>Remarks
>
>This function performs initialization of the SDK and all its components. It should be called once at application startup. If initialization fails, it is recommended to inform the user and exit the program.
>
>I am trying something like this and get a cannot find entry point in dll..
>Any help in getting started would be nice :)
>
>DECLARE integer MT_SDKInit IN mtls.dll string
>?MT_SDKInit("")
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform