Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple example for creating a COM file?
Message
 
To
04/09/2002 04:51:04
Denis Filer
University of Oxford
United Kingdom
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00696522
Message ID:
00696587
Views:
8
>I want to create a simple test VFP prg that can be called from outside VFP - to receive parameters of an input file, an SQL command and then return the output. I guess Im talking about an 'automation server' or creating a .DLL / COM file. Is there a dead simple example of this to make a start - e.g. defining a class using OLEPUBLIC etc? Thank you.

Check out http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfoxgen7/html/vfpandcom.asp

There is a lot of info on COM in that article and it starts with the simple example.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform