News:

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

Where do I find .libs & .incs?

Started by Scalemail Ted, April 22, 2010, 03:24:31 AM

Previous topic - Next topic

Scalemail Ted

I need to include this library in order to assemble.


msvcrt.inc, msvcrt.lib

Kernel32.inc, Kernel32.lib

advapi32.inc, advapi32.lib

Where can I find these files to add them in?

MichaelW

For MASM32 the include (.inc) files are in \masm32\include and the libraries (.lib) in \masm32\lib.

You could include them individually in your source with statements like:

include \masm32\include\kernel32.inc
includelib \masm32\lib\kernel32.lib

Or include all of the common ones with the single statement:

include \masm32\include\masm32rt.inc
eschew obfuscation

dedndave

advapi32 is one of the libraries not listed in the masm32rt.inc file
if you need to use functions from advapi...
        INCLUDE    \masm32\include\masm32rt.inc
        INCLUDE    \masm32\include\advapi32.inc
        INCLUDELIB \masm32\lib\advapi32.lib