Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Safely share a variable between com-objects
Message
From
17/09/2001 12:24:42
Eyvind W. Axelsen
Profdoc Norge As
Oslo, Norway
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Safely share a variable between com-objects
Miscellaneous
Thread ID:
00557345
Message ID:
00557345
Views:
51
At last weeks devcon, I attended Nick Neklioudov's excellent session on building visual interfaces to COM objects, and I've been experimenting a bit on my own at home with this. However, there is one thing that I cannot get to work: How can I safely share a reference between several com objects residing on a server to another com object residing on the same server? I tried just using a public variable, and although I can access it from all of the objects, when I try to make further use of it, I get an OLE error saying something not very helpful like "Something went seriously wrong" (not exact, translated from Norwegian).

Thank you in advance for any help.

Eyvind
Next
Reply
Map
View

Click here to load this message in the networking platform