Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a VB Dll library
Message
 
 
À
14/12/2000 09:33:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00453307
Message ID:
00453310
Vues:
18
>Hi All,
>
>I am having difficulty in creating a declare statement for a DLL that was built with VB.
>
>In VB, the syntax is as follows (as provided by the developer):
>
>Dim encoder As New CodeGen.encoder
>encoder.SoundX("Test","True")
>
>
>How would I set up the declare to call the SoundX function from within VFP?
>
>
>Thanks in advance...

No declare is used. Like VFP, VB creates COM DLLs only.

VFP:
encoder = createobject('codegen.encoder')
encoder.SoundX("Test","True")
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform