News:

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

Creating inc/lib file

Started by jbullard, November 11, 2006, 07:00:03 AM

Previous topic - Next topic

jbullard

I am in the process of writing an INC file for a one that is not included in the regular MASM files and was wondering if someone could answer a couple of questions.

1.  When writing the definitions (?) and you have a structure as a value, is it still labeled as :DWORD?
2.  What do I use to compile it to a lib file?  I want to make sure it will work before going any further as this is the first attempt.

Thanks for any info you can give.

Jason

donkey

Hi,

Generally structures are passed as a pointer, that is a pointer to the memory that contains the structure so yes, it is a DWORD.

With MASM you use ML.EXE to assemble the source into .OBJ files and LIB.EXE to build the lib file.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable