Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with OLE Automation
Message
 
À
05/04/2004 11:36:53
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00892291
Message ID:
00892326
Vues:
23
Thanks, Gary.

I think I understand that part. What I don't understand is - If I create that class instance as you say in instance 1 of my application, can I reference that SAME class instance from instance 2 of my application? My guess would be no. Each instance of the application is running in its own process and its variables/classes are not shared.

It SEEMS to me, that I need to create a separate EXE (out-of-process server). However, I can't figure out how to create a reference to an app that is already running.

If I open 2 instances of the Visual FoxPro IDE, I can reference the first instance using the command:

MyApp = GETOBJECT(, "VisualFoxpro.Application")

However, if I build an application of my own and compile it as an EXE, how can I reference that running application? At this point, I'm not sure that I can. Any thoughts?

John
John Groft
Consultant
Computer Task Group, Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform