Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with OLE Automation
Message
 
To
05/04/2004 11:36:53
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00892291
Message ID:
00892326
Views:
24
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform