Registering your COM-DLL object and its Interface
Hello,
I have created a COM object (which is a DLL) and it has a Interface. But I dont know how should i register it to be able to create an instance of it in another application. Many Thanks!!!
Simon
[218 byte] By [
simon29] at [2007-11-17 22:37:21]

# 1 Re: Registering your COM-DLL object and its Interface
You have to register it on the system (means writing stuff into the registry). The standard way of doing it is to open a command prompt window and type regsvr32 yourdll.dll.
If you are building the project with VC then it automatically registers the dll after it has finished compiling. In the Build window you will see a line saying "Performing registration". If you go to Project > Settings > Custom Build, you will see that it actually just calls regsvr32 itself ;)
If this doesn't help, then you are probably talking about some other "registering" so please say a bit more about what kind of application your dll should be used in.