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

Type Library for Fortran DLL

durisinm
Novice
591 Views
A colleague of mine is trying to create a type library for a Fortran DLL. He claims that the executables MIDL.EXE and MKTYPLIB.EXE in "C:Program FilesMicrosoft Visual StudioVC98BIN" that are supposed to do this task don't work unless the MSVC++ compiler is also installed.

Another thread in this forum contains a long discussion of what's needed for VF to work with VS.NET, and IIRC Steve Lionel said that users would have to install VC++.NET. That makes me wonder if the current VF already has the tools needed to make a type library.

I searched this forum but didn't find any information on this subject. Has anyone got any advice for my colleague?

Mike
0 Kudos
2 Replies
Steven_L_Intel1
Employee
591 Views
Both MIDL.EXE and MKTYPLIB.EXE are supplied by CVF and I have not heard of them not working without Visual C++ installed. This is an area I'm not that familiar with, but I don't think that we describe making type libraries in the CVF documentation except as part of the COM Server Wizard.

Steve
0 Kudos
canaimasoft
Beginner
591 Views
It's not hard to create your own type library using MIDL.EXE. You do need to know IDL (Interface Def. Language) well. The process is to write a text file with the IDL definitions you want in the type library, then compile the file using MIDL.EXE which will output a .TLB (type library) file. I think this is described (although briefly) in the book "Inside OLE".

regards,

Marco A. Garcia
Canaima Software, Inc.
www.canaimasoft.com
0 Kudos
Reply