News:

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

Create Types/Structs

Started by The Rogue, July 19, 2008, 02:26:11 AM

Previous topic - Next topic

The Rogue

How do I create a type, struct in masm. I know its called a type in Visual Basic. I think I read somewhere in asm its called a struct. If you dont get what im talking about, its like RECT from the win api.

Thanks.

GregL

Yes, it is called a STRUCT in MASM. Take a look at the 'windows.inc' file in the 'include' directory of the MASM32 package, it's full of them, including RECT.


The Rogue

Quote from: Greg on July 19, 2008, 02:43:11 AM
Yes, it is called a STRUCT in MASM. Take a look at the 'windows.inc' file in the 'include' directory of the MASM32 package, it's full of them, including RECT.



Thanks a lot! That was a really quick response.