>I am trying to create an OLE server where two seperate applications have access to the server and have access to the same properties. In other words, if I change a property from one application I can detect the change from the other application. I have tried creating simple test custom olepublic classes, set them to Multi Use and built them into an exe. From
>two foxpro sessions I ran x = getobject("","Myole.myClass") which creates one instance of Myole in the task list. However, after verifying a properties change from its default value in one session, the property is still at its default value when checked from the other session. Is what I
>am trying to do possible? What am I missing?
If you want data accessible to multiple clients, store the data in a table with shared access. Then any client can access it. Storing it in a property in a class will not be able to do this as the classes are not sharable. And thus each user creates their own instance of the class when running the exe. Changing the value only changes the value of that instance of the class.
HTH