Hi friends,

Here is my tool converting MS COFF import libraries to MASM include files.

Tested with import libraries coming with Hutch's masm32 package and PellesC V3.00

The tool accepts wildcards like *.lib

Posted on 2005-08-07 07:20:46 by Vortex
Hi friends,

Here is lib2inc V1.1 :

- Fixed bug with duplicate names from user32.lib  ( Many thanks Paul informing me about the bug )

The tool is able to extract fuction prototypes from static libraries. If you have the time, could you test the tool with static libs?


Here is the include file set extracted from Pelles import libraries V 4.00 beta1 :

Posted on 2005-08-14 06:43:08 by Vortex
Here is version V1.11 :

- Fixed bug : lib2inc is now able to extract function names with leading @ :

@DnsGetDomainName PROTO :DWORD
@DnsIsAMailboxType PROTO :DWORD


Posted on 2005-08-15 05:22:20 by Vortex
Here is lib2inc V1.2 translated to Poasm. Now, the tool supports both MASM and POASM


Include file set extracted from Pelles import libraries 4.00.50

Posted on 2006-01-01 08:18:09 by Vortex
Here is lib2inc V2.0 now supporting Fasm.

Usage    : lib2inc libfile.lib

Switches :

-s	 : set global calling convention to STDCALL for MASM \ POASM


-fd : output EXTERNDEFs for Fasm - direct calls
  lib2inc outputs include files enabling direct function calls

  EXTERNDEF '_MessageBoxA@16',MessageBox

-fi : output EXTERNDEFs for Fasm - indirect calls
    lib2inc outputs include files enabling indirect function calls

  EXTRNDEF '__imp__MessageBoxA@16',MessageBox

If the user does not specify any optinonal parameter then the tool emits standard MASM \ POASM include files.

Posted on 2006-10-03 12:24:06 by Vortex