Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a simple DLL
Message
 
To
17/10/2001 01:37:35
Ashish Patel
Hindustan Petroleum
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00568925
Message ID:
00570077
Views:
17
Hi,

In VFP , you can create DLL/EXE (OLE/COM SERVER) using with OLEPUBLIC keyword.
Once DLL/EXE (OLE/COM SERVER) is created you can use it in VB and others.

In VB :

DIM oSample As Object

Set oSample = CreateObject("Sample.Sample")

&& I am assuming your DLL/EXE (OLE/COM server) server name is Sample & class name is also Sample within DLL/EXE.


Regard
Ajay Mishra
Previous
Reply
Map
View

Click here to load this message in the networking platform