Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Into a VFP Application
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00656560
Message ID:
00657415
Views:
22
>Nick, I set it to interactive, which had no effect.
>
>Let me ask you this;
>
>If I have an OLE Public class inside a RUNNING vfp exe, I should be able
>to call into it using GetObject(). Is this correct?
>
>If so, what's the correct syntax? Any ideas on why this won't work?
>
>Thanks

Do I understand you correct that you are trying to run EXE the "normal" way, and then trying to instantiate a COM object from it from another app?

If so, as far as I tested that would not work. When you instantiate one or more COM object contained in that EXE, it just runs another instance of EXE (however that would be just one EXE instance for all instantiated COM objects), but the already running EXE stays untouched.

This approach seems not working, and you cannot get the GETOBJECT reference to existing EXE because of that bug you mentioned in another message.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform