Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to detect a 'dead' object
Message
From
11/01/1999 11:03:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
How to detect a 'dead' object
Miscellaneous
Thread ID:
00174663
Message ID:
00174663
Views:
66
Hello

Within our system we have a VFP exe and a VB exe which share a common object. We create a reference to this object using the CREATEOBJECT() command.

We have encountered the scenario where an error has occurred in VB which has resulted in the object being 'killed'. When we subsequently attempt to reference the object in VFP we get an OLE error - RPC server is not available.

Is there any way of determing whether an object is OK prior to using it's properties or methods?
Next
Reply
Map
View

Click here to load this message in the networking platform