Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple Com Question
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00192186
Message ID:
00192195
Views:
18
>I want to create a simple .dll from VFP 6.0. All I want is a property I can set containing the name and path of a .dbc file. And a method to pack it. (I'm testing something)
>
>I've never made a .dll before, but I've found how to create it (olepublic I think) I created a simple container with the property and method, put it in a project and compiled as a .dll
>
>I want to call it from VB, but I'm not sure what to do next? Any help would be appreciated.
>
>Robert

Look at the VB syntax for calling a COM object.

It will be something like

SET oVFPServer = CREATOBJECT('MyServer.MyClass')

then you just call the methods with

SET MyResult = oVFPServer.DBCPath
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform