Good COM tutorial.
Hi there!
I just wondered if anyone knows an good link to a tutorial about COM / DCOM and stuff like that...
thx,
cya,
Phil
Visit Rarebyte!
and no!, there are NO kangaroos in Austria (I got this questions a few times over in the states
Visit Rarebyte! and no!, there are NO kangaroos in Austria (I got this question a few times over in the states ;) )
The WROX beginning COM books are not too bad. If you have used ADO in ASP, VB, or C++ then you are already familliar with the COM calling conventions. Lookup the syntax and give it a whirl inthe language of your choice. When writing a COM object for yourself, start simple, then gradually get more advanced. Learn BSTR and _bstr_t classes and how to use them. Learn _variant_t class as well. Learn what can and can not be passed in COM as a variant and remember that COM implements methods in three places in C++ code, the header, the source and the IDL.
Lastly I would say learn how to properly clean out your registry by hand when registering COM objects.(look on MSDN) I can''t tell you how many times I orphaned a COM class by recompiling a DLL and not uninstalling the old one properly. If you use Win2K, Component Services goes a long way towards helping this task out, though it is not perfect.
Kressilac
Lastly I would say learn how to properly clean out your registry by hand when registering COM objects.(look on MSDN) I can''t tell you how many times I orphaned a COM class by recompiling a DLL and not uninstalling the old one properly. If you use Win2K, Component Services goes a long way towards helping this task out, though it is not perfect.
Kressilac
Derek Licciardi (Kressilac)Elysian Productions Inc.
Wow, looks like some pretty complicated stuff :o).
Does it pay off to use COM in a Leveleditor? Cause i saw IUnknown in the Q3Radian Source Code.
thx,
cya,
Phil
Visit Rarebyte!
and no!, there are NO kangaroos in Austria (I got this questions a few times over in the states
Does it pay off to use COM in a Leveleditor? Cause i saw IUnknown in the Q3Radian Source Code.
thx,
cya,
Phil
Visit Rarebyte!
and no!, there are NO kangaroos in Austria (I got this questions a few times over in the states
Visit Rarebyte! and no!, there are NO kangaroos in Austria (I got this question a few times over in the states ;) )
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement