The MASM Forum Archive 2004 to 2012

Specialised Projects => Pelle's Macro Assembler Development => Topic started by: Vortex on May 27, 2006, 11:29:35 AM

Title: Import library to module definition file converter
Post by: Vortex on May 27, 2006, 11:29:35 AM
Here is the first version of my new tool import library to module definition file converter, lib2def

The tool extracts module definition files from MS COFF import libraries:

lib2def kernel32.lib

Output :

LIBRARY kernel32
EXPORTS
"_AddAtomA@4"
"_AddAtomW@4"
"_AllocConsole@0"
.
.


lib2def accepts wildcards like *.lib
Title: Re: Import library to module definition file converter
Post by: GregL on May 27, 2006, 09:14:43 PM
Thanks Vortex

Title: Re: Import library to module definition file converter
Post by: Vortex on May 27, 2006, 09:25:49 PM
Hi Greg,

Thanks for your support.
Title: Re: Import library to module definition file converter
Post by: Vortex on June 14, 2006, 07:47:45 PM
Version 1.1

- In some rare situations, the tool didn't filter the symbols _IMPORT_DESCRIPTOR_ and _NULL_THUNK_DATA , bug fixed
- Functions names without leading underscore were not written correctly, bug fixed

http://www.vortex.masmcode.com/files/lib2def11.zip


Title: Re: Import library to module definition file converter
Post by: Mark Jones on June 15, 2006, 07:09:42 PM
As always, good work Erol! :U
Title: Re: Import library to module definition file converter
Post by: Vortex on June 15, 2006, 07:26:01 PM
Hi Mark,

Thanks for your kind words.
Title: Re: Import library to module definition file converter
Post by: Vortex on August 30, 2006, 05:19:10 PM
Version 2.0

- The tool couldn't filter C++ functions in some cases, bug fixed.

http://vortex.masmcode.com/files/lib2def20.zip
Title: Re: Import library to module definition file converter
Post by: Vortex on December 29, 2006, 07:49:02 PM
Version 2.1

- Fixed bug with some FASTCALL functions

http://vortex.masmcode.com/files/lib2def21.zip