Copying a Type from one application instance to another
Hi
I'm trying to write the code so that you can drag drop a node from one instance of the application to another instance using OLE Drag Drop.
I thought it would be easier so store all the relevant information in a Type variable and then store the variable pointer in the OLE Data object in the OLEDragStart event. Then in the OLEDragOver event I could use the CopyMemory API to copy the Type variable in memory into a local Type variable. This works fines if you drag drop in the same instance of the application, but if you drag from one instance to another the local Type variable isn't populated when I use the CopyMemory API.
Is there any way I can copy a Type variable from one instance to another, or is there a better of doing this?
Thanks in advance
:)