Hi all,
I have been trying to see if it's possible to make a better
lib2inc that will work on all libs, I am not sure if it's going to
work, but it's a start. So far, it seems to work.

I have disabled the wild card options in this so you can only do a lib
at a time. if this part works I can enable the wild cards again

This app will do TASM and MASM proto's

So far it seems fast and is only about 7K

If you do find a lib that eather crash's or hangs forever
or seems to take to long, could you give me the lib so I can
duplicate the error?

Thanks

Zcoder....
Attachments:
Posted on 2006-07-15 13:59:32 by Zcoder
Ok, I have updated lib2inc here is the changes.


        (1.) added wildcard opions.
        (2.) fixed echo off switch.
        (3.) discarded exported api's
        (4.) cleaned up garbage left at end of inc file.
        (5.) added LFN in quotes for both input and output.
        (6.) smoked a carton of sig's and drank on pint of jack to clear my head.


I ran it on the libs in \masm32\lib and it worked on all the libs
I used this command line:
LIB2INC c:\masm32\lib\*.lib /e

Notice I did not provide a output path, this way all the inc files where put into the same directory
as the LIB2INC exe file, for safe testing.

Other wise I could have used: LIB2INC c:\masm32\lib\*.lib /e c:\masm32\include\*.inc

Zcoder....


Posted on 2006-07-16 18:55:52 by Zcoder