The MASM Forum Archive 2004 to 2012

Specialised Projects => Pelle's Macro Assembler Development => Topic started by: jdoe on January 07, 2007, 04:36:08 AM

Title: About polib and masm32
Post by: jdoe on January 07, 2007, 04:36:08 AM
Hi,

I played recently with polib and I notice that in some case polib defines no exports from the PSDK libs but when I look at masm32 includes there are some for the same libs. For example, adsiid, certidl, ciuuid, fci, fdi, minidump, ScrnSave etc.

What I must conclude from that ?


Thanks
Title: Re: About polib and masm32
Post by: Vortex on January 07, 2007, 10:11:24 AM
Hello Jdoe,

As I understand, Pelle's SDK is designed for general purpose programming. Masm32 and PSDK are coming with a more wide range of import libraries and include files. You can add new members like import libraries to Pelle's SDK by using the powerfull librarian Polib. Once you have the correct module definition file, you can easily create the associated import library and include file :

polib /OUT:library.lib /DEF:library.def /MACHINE:IX86
def2inc library.def
Title: Re: About polib and masm32
Post by: jdoe on January 07, 2007, 10:42:46 PM
Sorry Vortex, by PSDK I was refering to Win32 Platform SDK.

What I meant is that using the /MAKEDEF switch of polib on the .lib of PSDK, sometimes I get nothing but I when I look at masm32, there is something in the includes. Is it refering to static libraries ? If so, these includes means nothing because, for example, fdi.dll not exist.







Title: Re: About polib and masm32
Post by: Vortex on January 08, 2007, 06:27:02 PM
Hi Jdoe,

Some import libraries are containing static code, probably this the the reason why Polib's /MAKEDEF switch doesn't respond. Could you post here the names of those libraries? I can analyze them for you.
Title: Re: About polib and masm32
Post by: Vortex on January 08, 2007, 08:41:07 PM
Jdoe,

I got fci.lib and fdi.lb from Microsoft Cabinet Software Development Kit. Both of them, they contain static code. Attached contains the def files and include files with function prototypes.

[attachment deleted by admin]