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.