- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
regards,
Marco A. Garcia
Canaima Software, Inc.
www.canaimasoft.com

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