|
-
November 8th, 2002, 09:57 AM
#1
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 don´t know how should i register it to be able to create an instance of it in another application. Many Thanks!!!
Simon
-
November 8th, 2002, 10:26 AM
#2
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.
Get this small utility to do basic syntax highlighting in vBulletin forums (like Codeguru) easily.
Supports C++ and VB out of the box, but can be configured for other languages.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|