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

Try to build my first COM Server following the steps , but failed

Jilong_Yin
Beginner
610 Views

Hello, everyone

I want to use my Fortran subroutine in a VBScript, so I have to use a COM interface to envelope my fortran subroutine.

I tried to learn the COM and tried to build my first COM excercise following the intel fortran compiler document.

I use Intel Fortran 10.1.019 and Microsoft Visual Studio 2005.

When I tried to build the example COM program "Adder", but the compiler gave the folloing error message,

1>Compiling resources...
1>Adder.rc
1>D:\\home\\VBS-DLL\\COM\\Adder\\Adder\\Adder.rc(79) : error RC2135 : file not found: Adder.tlb
1>
1>Build log written to "file://D:\\home\\VBS-DLL\\COM\\Adder\\Adder\\Debug\\BuildLog.htm"
1>Adder - 1 error(s), 0 warning(s)

I know little about COM technology.

Please tell me what I should do.

Thank you

0 Kudos
2 Replies
macaire
Beginner
610 Views
I'll tell you in French DU COURAGE
0 Kudos
Steven_L_Intel1
Employee
610 Views

Do you have a .idl file in the project? It is this that should be converted into a .tlb by running MIDL. This should happen automatically.

Did you choose a COM Server project type? 10.1 is rather old at this point - can you try 11.1? If not, please attach a ZIP of the project after a failed build.

0 Kudos
Reply