Question about registering COM server and Add Reference to it in a C# project
- by smwikipedia
I build a COM server in raw C++, here is the procedure:
(1) write an IDL file to define the interface and library.
(2) use msidl.exe to compile the IDL file to necessary .h, .c, .tlb files.
(3) implement the COM server in C++ and build a .dll file.
(4) add the following registry entris:
[HKEY_CLASSES_ROOT\RawComCarLib.ComCar.1\CurVer]
…