Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A visual foxpro DLL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00612811
Message ID:
00612875
Vues:
26
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform