Hi!

Some programs contains those strings:

include \masm32\include\crtlib.inc
includelib \masm32\lib\crtlib.lib

There are no such libraries in my version of MASM. May be it is additional library?

Mike
Posted on 2004-02-19 07:06:57 by Mike
It is the c runtime library if I am not wrong..
Posted on 2004-02-19 07:12:15 by roticv
May be. But in C / C++ I write
#include crtlib.h
not
#include crtlib.inc

Mike
Posted on 2004-02-19 07:22:14 by Mike
Mike, you use .h and not .inc in C programs because... well, .h are C-style headers, and .inc are assembly-style include files. You can't mix the two (well, unless you have an assembler that supports C-style headers).

crtlib.inc/lib doesn't seem to be present in masm32v8, so it must be provided elsewhere?
Posted on 2004-02-19 09:32:24 by f0dder
May be I am wrong but it seems to me that it's look like crtdll...

Mike
Posted on 2004-02-19 10:43:51 by Mike
Hi Mike,

Yes, that example is about crtdll C run-time library.

Have a look at this thread on getting crtdll.inc and crtdll.lib:

http://www.asmcommunity.net/board/index.php?topic=16191
Posted on 2004-02-19 13:16:58 by Vortex
Thanks, vortex. I'll try the both.

Mike
Posted on 2004-02-20 01:16:31 by Mike
Hi!

Thanks, thanks and thanks any more! I know that lib-file can be produced, but NOT without def-file. My problems was in wspintf that can't properly work with the most templates. E.g. it don't understand this "%+03ld" (only "%ld") but sprintf works properly.

Thanks another one,
Mike.
Posted on 2004-02-21 07:03:04 by Mike