Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Fortran COM Server Wizard

hildecodron
Beginner
618 Views
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
0 Kudos
2 Replies
hweisberg
Beginner
618 Views
It could be that there is something wrong with a Copy command in your Post-build step in Project Settings.
0 Kudos
dlemmon
Beginner
618 Views
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.
0 Kudos
Reply