Message 1 of 2
COM Server Registration Question
Not applicable
12-05-2005
04:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm making a library consisting of COM wrappers for custom entities and I need some help attaching proper GUID's to the entities. The problem is that I have one GUID for the library, one for the interface and one for the coclass, and they all differ, as in the .idl file attached. Now how do I setup the registry so that automation works?
OK, my entity's overridden GetClassID method returns the class ID of the wrapper, which I suppose is the GUID of the coclass. The trouble is that, in the AsdkSquareWrapper sample in the ObjectARX SDK, the library, the interface and the coclass all share one GUID !? There's also an example of the .reg file with which setting up of the COM wrapper is performed but in my case of three different GUID's, which goes where? What about the Autodesk\ObjectDBX\ActiveXCLSID key, appearing in the generated .rgs file (also attached), what's that for?
Thanks for helping,
Janko Jerinic
I'm making a library consisting of COM wrappers for custom entities and I need some help attaching proper GUID's to the entities. The problem is that I have one GUID for the library, one for the interface and one for the coclass, and they all differ, as in the .idl file attached. Now how do I setup the registry so that automation works?
OK, my entity's overridden GetClassID method returns the class ID of the wrapper, which I suppose is the GUID of the coclass. The trouble is that, in the AsdkSquareWrapper sample in the ObjectARX SDK, the library, the interface and the coclass all share one GUID !? There's also an example of the .reg file with which setting up of the COM wrapper is performed but in my case of three different GUID's, which goes where? What about the Autodesk\ObjectDBX\ActiveXCLSID key, appearing in the generated .rgs file (also attached), what's that for?
Thanks for helping,
Janko Jerinic