- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to make a COM Dll by using the COM Server Wizard. I've followed all the steps as described in "Creating a COM Server" (Project Adder).
After building the project (Adder.dll), I get the following error message:
Linking...
Creating library Debug/Adder.lib and object Debug/Adder.exp
Performing Registration
Error executing c:winntsystem32cmd.exe.
Adder.dll - 1 error(s), 0 warning(s)
What is the problem here?
Thanks,
Hilde
After building the project (Adder.dll), I get the following error message:
Linking...
Creating library Debug/Adder.lib and object Debug/Adder.exp
Performing Registration
Error executing c:winntsystem32cmd.exe.
Adder.dll - 1 error(s), 0 warning(s)
What is the problem here?
Thanks,
Hilde
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It could be that there is something wrong with a Copy command in your Post-build step in Project Settings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To register a dll COM server, the post-build step runs a program called regsvr32, a command-line executable. Apparently this program is failing. To verify that this is the case, look for Adder.dll (probably in the "debug" directory). Open a command prompt and cd to that directory. Then run "regsvr32 Adder.dll". If it works, something is wrong with the post-build step in CVF. If it fails, there's something wrong with your dll or OS installation. Hope this is somewhat helpful.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page