Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Share VFP objects
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01388398
Message ID:
01465676
Vues:
75
Do you have a hello world com code sample?

I ran into problems only when I moved a FOXISAPI implementation to VFP9 - had to move it back to 7 to deliver - same code - recompiled. There is an example COM I wrote here that creates an object inside a COM. Run it in 6 or 7 - then recompile and run it in 9. Surprise me!

Terry
www.r6solutions.com

>>In VFP 8 we could "CREATEOBJECT" inside an "OLEPUBLIC". In VFP 9 we can't. Is there a work around?
>
>If you're referring to DEFINE CLASS statement with OLEPUBLIC clause than you're wrong. You can create objects in the methods of such class (or any other class) with CREATEOBJECT() or NEWOBJECT().
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform