News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

About kernel32.lib of masm32

Started by qtext, November 06, 2006, 09:36:35 AM

Previous topic - Next topic

Vortex

Hi Ghandi,

Welcome to the forum.

To create import libraries from DLLs, you could try def2lib  All what you need is a module definition file.

kernel32.def :

LIBRARY kernel32
EXPORTS
"_ActivateActCtx@8"
"_AddAtomA@4"
"_AddAtomW@4"
"_AddConsoleAliasA@12"
"_AddConsoleAliasW@12"
.
.
.

Ghandi

Hi Vortex,

Thanks for the welcome. :)  I ended up using Inc2L.exe, but i'll check out Def2Lib. This question is OOT, so disregard if you want, but do you know whether it is possible to create VC++ 9.0 static libraries for use with MASM? When i tried it i got an error from linking, basically saying "File format not recognized".

BR,
Ghandi

Vortex

Hi Ghandi,

Could try Pelle's library manager Polib to create the static library?

\masm32\bin\ml /c /coff *.asm ; assemble all the files
\masm32\bin\polib /OUT:statlib.lib /MACHINE:IX86 *.obj