flat assembler
Message board for the users of flat assembler.

Index > Main > INC Files

Author
Thread Post new topic Reply to topic
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
Hi!
I've seen lots of codes with equ's in it, like:
MB_OK equ ...
GENERIC_WRITE equ ...
etc

where people get these values from?
Post 12 Sep 2005, 23:23
View user's profile Send private message Reply with quote
DataHunter2009



Joined: 10 Jun 2005
Posts: 144
DataHunter2009
Errr... i guess you already know the answer to that question since you made the title "INC Files"... but yeah... from INC files. Razz
Post 12 Sep 2005, 23:35
View user's profile Send private message Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
I know... but I was looking at some old asm codes, from TASM ages, and people defined things in the source, and didn't use includes, just hardcoded on sources, but where that information came from?
Post 13 Sep 2005, 00:04
View user's profile Send private message Reply with quote
DataHunter2009



Joined: 10 Jun 2005
Posts: 144
DataHunter2009
Might be some internally generated value... i dunno, I haven't really worked with assembly that much.
Post 13 Sep 2005, 00:15
View user's profile Send private message Reply with quote
Jurgen



Joined: 08 Sep 2003
Posts: 1
Jurgen
I guess these values all come from the platformsdk's include files.
Post 13 Sep 2005, 00:35
View user's profile Send private message Reply with quote
Vortex



Joined: 17 Jun 2003
Posts: 318
Vortex
OzzY, you can have a look at my inc2in tool converting MASM function prototypes to Fasm function declarations :

http://board.flatassembler.net/topic.php?t=588

_________________
Code it... That's all...
Post 13 Sep 2005, 05:39
View user's profile Send private message Visit poster's website Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard
When I needed INC that wasn't in FASM package, I converted .H file from MinGW package...
Also, my website contains "include repository". There are more INC files than in FASM archive, maybe you will find here what you need:

http://decard.net/fasmfresh.php?body=repository

regards,
decard
Post 13 Sep 2005, 06:16
View user's profile Send private message Visit poster's website Reply with quote
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend
All those equates are predefined by Microsoft and are all constant for all wroking processes. They were first posted in official Windows SDK and now are translated to FASM format and for any other Windows compiler I guess. If you miss any, try downloading LCC or Dev-C++ - free compilers and check 'includes' directory.
Post 13 Sep 2005, 15:24
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.