General information
Title:
COM Client and Server
Can VFP be a COM client and server simultaneously? I am trying to get two COM components to talk to each other, but I can't seem to establish true two way communications between objects. One object is created in VC++ and is launched first. My VFP component gets an object reference (with either GETOBJECT() or CREATEOBJECT() it doesn't seem to matter). VFP then registers with the VC component (using an exposed method of the VC component) which in turn causes the VC component to get an object reference to the VFP component. The VC component can execute methods of the VFP component but it does not recognize any changes to properties that were done by VFP. It appears that VC can only see the default values -- as if it simply got a fresh instance of the VFP component. This seems to be the case since VC could NOT find the VFP using GetActiveObject(). Is there a way to register the VFP component as an active OLE object?
Rick Grinter
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only