Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A visual foxpro DLL
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00612811
Message ID:
00612875
Views:
25
>A COM component, that is the idea. I'd like to find some examples.
>
>
>>You'll have to make it an EXE to show the forms and run the reports. Can you make into a COM component? It depends on how it was designed.
>>

As Craig says, you need to make it a COM object. The COM objects supposed to be defined as OLEPUBLIC, then you will be able to instantiate them from other objects/applications whether they written in VFP or other languages. You might want to start with Calvin Hsia article in MSDN library:

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

Check out also earlier version:
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarfoxgen/html/msdn_custole.asp

There were also multiple articles in FoxPro Advisor on COM subjects.
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
Next
Reply
Map
View

Click here to load this message in the networking platform