Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error : Illegal redefinition of variable
Message
From
06/08/2013 12:17:29
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
06/08/2013 08:51:43
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01579124
Message ID:
01579959
Views:
73
>>>Create an OLEPublic EXE and within declare Public variable. Now several applications can instantiate the COM object. All will have access to the Public variable, and they all will see the same value. If any changes the value, all will see the same. Shared Memory... Pretty cool.
>>
>>The idea of all of them having readonly access, maybe. The idea that any can update the value at any time - not cool.
>
>depends - if meant as a semaphore or status switch between processes, cool in my book. Sometimes explicit locking a single record before process-write is helpful, in other situations perhaps not needed.

Several applications can access a property of an object inside the COM object without public variables?
Previous
Reply
Map
View

Click here to load this message in the networking platform