Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a VB Dll library
Message
From
14/12/2000 10:15:52
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00453307
Message ID:
00453342
Views:
23
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform