epsilonlabs / emc-ptcim

EMC driver for the PTC Integrity Modeler
Eclipse Public License 1.0
2 stars 0 forks source link

COM objects should be created with an IID #8

Closed arcanefoam closed 8 years ago

arcanefoam commented 8 years ago

It appears that and IID should be used when using COM objects, as stated here: http://jawinproject.sourceforge.net/jawinuserguide_vtable.html#overview_guid

The IID are "universal" in the sense that they are the same across machines. A quick look over the RR code provides the required ones. Other ones could be found through the Windows Registry.

To support this, the JawinObject must extend DispatchPtr rather than using one as a delegate.

arcanefoam commented 8 years ago

Reading the Jawin Documentation in more detail, it turns out that if you use the provided DispatchPtr class the IID is not required.