Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a VB Dll library
Message
De
14/12/2000 10:15:52
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00453307
Message ID:
00453342
Vues:
25
>>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")


I have one other quick question. How can I tell if the component is already registered? Is there any reprocussions from registering a component multiple times?
Patrick L. Stovall
Senior Architect/Developer
MCP - C#

VeroQuest
P.O.Box 7216
Kalispell, MT 59904
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform