flat assembler
Message board for the users of flat assembler.

Index > Windows > Windows Frequently Asked Questions (FAQ)

Goto page 1, 2  Next
Author
Thread Post new topic Reply to topic
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
scientica 01 Nov 2004, 11:56
Windows Frequently Asked Questions (FAQ)
This thread/sticky is intended to be a good list of FAQs (or simply usefull things), it's understandable that from time to time the search function might be a little tricky to use and it might take a while to find what one is looking for (especially when one isn't too familiar with the art of searching).

If you think some question in this FAQ is missing, please post a reply here with a link to the thread, and a short/brief motivation - the reply will then be deleted if approved and the entry added to the FAQ, if the entry is rejected a reply will be made to the post explaining why it's rejected, the request and the answer will then be kept for about an week and then both will be deleted to keep this thread as clean as possible.

Other FAQs


Iczelion's Assembly Tutorials


OpenGL
  • Some useful OpenGL macros - I moddestly (Mr. Green) recommend using these macros I've supplied in this thread for pushing GLfloats, and calling functions with glFloats as arguments.
  • OpenGL-Hheaders - OpenGL includes for fasm (based on "standard gl.h, glext.h, glu.h, and wglext.h")


DirectX


Exception Handling


Drivers


Usefull snibblets/stuff


Problems

_________________
... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself.
- Bradley Kuhn


Last edited by scientica on 04 Jan 2010, 12:41; edited 9 times in total
Post 01 Nov 2004, 11:56
View user's profile Send private message Visit poster's website Reply with quote
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner 03 Sep 2005, 08:19
Windows System Programming 3rd Edition
is a nice book.


Last edited by vbVeryBeginner on 12 Apr 2006, 07:42; edited 3 times in total
Post 03 Sep 2005, 08:19
View user's profile Send private message Visit poster's website Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 04 Sep 2005, 03:56
vbVeryBeginner, geocities has referrer checking, so you need to go to the "decedx" page first, then download the file... but umm, isn't distirbuting that file a breach of copyright?
Post 04 Sep 2005, 03:56
View user's profile Send private message Visit poster's website Reply with quote
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend 04 Sep 2005, 09:52
I'd like to suggest adding thread about ApiResolve to the FAQ. The program creates include files for 'format PE' and 'format MS COFF' in ansi or wide (unicode) version. I think it's quite useful and can be added below the link to decard's site in "Useful snibblets/stuff" section. Here's the link: http://board.flatassembler.net/topic.php?t=3229

Btw.: What is snibblet?
Post 04 Sep 2005, 09:52
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 12 Jan 2006, 17:22
scientica wrote:

[list][*]Some usefull OpenGL macros - I moddestly (Mr. Green) recomend using thse macros I've supplied in this thread for pushing GLfloats, and calling functions with glFloats as arguments.

Isn't this already possible with newer pushd macros?
Post 12 Jan 2006, 17:22
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
scientica 30 Oct 2006, 09:57
possible, I really really really need to refresh my memory by reading the docs again now.
Post 30 Oct 2006, 09:57
View user's profile Send private message Visit poster's website Reply with quote
polygon7



Joined: 14 Aug 2003
Posts: 62
Location: Poznan, Poland
polygon7 18 Mar 2007, 11:05
Hi,
does somebody have a copy of Decard's Windows include file repository and could put it here or in filemirrors(or something like that)?

_________________
best regards
p7
Post 18 Mar 2007, 11:05
View user's profile Send private message Visit poster's website Reply with quote
dap



Joined: 01 Dec 2007
Posts: 61
Location: Belgium
dap 05 Dec 2007, 21:24

_________________
(French only) http://dap.developpez.com
Post 05 Dec 2007, 21:24
View user's profile Send private message Visit poster's website Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 24 Jan 2010, 00:01
This thread has been unstuck by scientica, should I stick it back?
Post 24 Jan 2010, 00:01
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20421
Location: In your JS exploiting you and your system
revolution 24 Jan 2010, 02:00
What was the reason for unsticking it?
Post 24 Jan 2010, 02:00
View user's profile Send private message Visit poster's website Reply with quote
windwakr



Joined: 30 Jun 2004
Posts: 827
windwakr 24 Jan 2010, 02:36
revolution wrote:
What was the reason for unsticking it?


He made a new thread. He links to this one in that one saying
Quote:

Windows Frequently Asked Questions (FAQ)
the predecessor of this thread. (contains some dead links)

_________________
----> * <---- My star, won HERE
Post 24 Jan 2010, 02:36
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 24 Jan 2010, 05:24
Yes, but the new "FAQ" does not actually looks as such, only sections "Tutorials for beginners" and "Problems" are candidate for FAQs, but the whole thread ends up having less information than its "predecessor".

I hope my critique was no too rude Razz
Post 24 Jan 2010, 05:24
View user's profile Send private message Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
scientica 24 Jan 2010, 10:14
LocoDelAssembly wrote:
Yes, but the new "FAQ" does not actually looks as such, only sections "Tutorials for beginners" and "Problems" are candidate for FAQs, but the whole thread ends up having less information than its "predecessor".

I hope my critique was no too rude Razz

Yes right now it contains less than the old one, and no you're not rude Smile
The intension was to copy/move all the stuff still relevant from the old one, alas I fell a bit short on time again (a bad habbit of mine). If you miss something in particular point it out Smile

My thinking is that it's better to start a new one and only bring back only that which is still usefull (instead of just piling up (dead)links/threads). E.g. my old glPush macros are no longer needed (see the opengl example in fasmw168.zip using invoke). Another example beeing the DirectX thread with no live links. Feel free to disagree, as long as you give constructive criticism Smile (as per the idea "if someone never tells you when you're wrong how would you ever know?")
I'd appreciate some input on the most recent "resesitations" (eg the old OpenGL headers cf. the new opengl.inc in the windows bundle).

_________________
... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself.
- Bradley Kuhn
Post 24 Jan 2010, 10:14
View user's profile Send private message Visit poster's website Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 24 Jan 2010, 16:29
scientica, do you agree if I update this old FAQ, perhaps borrowing some info from the new one, so you can then do the final merge?

To all forumers: Please post links about interesting general info that Windows programmers should know.
Post 24 Jan 2010, 16:29
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 24 Jan 2010, 17:00
scientica wrote:
My thinking is that it's better to start a new one and only bring back only that which is still usefull (instead of just piling up (dead)links/threads). E.g. my old glPush macros are no longer needed (see the opengl example in fasmw168.zip using invoke).
Haven't seen your glPush, but even if it's no longer necessary, it might serve as a macro example if it's doing anything non-trivial? (might be worth generalizing it and moving to some other section, though).

_________________
Image - carpe noctem
Post 24 Jan 2010, 17:00
View user's profile Send private message Visit poster's website Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
scientica 25 Jan 2010, 10:06
@LocoDelAssembly: sure be my guest Smile

@f0dder: possibly, I'll see if I can find some time to take a look at it (though iirc it was fairly trivial). There was some suggestions about simplifications iirc.
Post 25 Jan 2010, 10:06
View user's profile Send private message Visit poster's website Reply with quote
rxantos



Joined: 19 Jul 2008
Posts: 41
rxantos 12 Jul 2010, 17:30
Where can I find fasm includes? Decard site does not work.
Post 12 Jul 2010, 17:30
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 13 Jul 2010, 10:53
rxantos: Which Includes? The default includes can be found inside FASM packages: http://flatassembler.net/download.php

Unfortunatelly, AFAIK there is no single place for "extra" includes.
Post 13 Jul 2010, 10:53
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2909
Location: 0x77760000
typedef 21 Sep 2010, 23:44
Why?


Last edited by typedef on 17 Feb 2014, 22:48; edited 1 time in total
Post 21 Sep 2010, 23:44
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20421
Location: In your JS exploiting you and your system
revolution 22 Sep 2010, 03:58
typedef: Are you asking about the entry address? Or are you asking about the location of code in the virtual (or physical) memory space?

In Windows the RVA of the entry address is stored in the EntryAddress field in the PE file header. You can find all the info in PE file format spec.
Post 22 Sep 2010, 03:58
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:  
Goto page 1, 2  Next

< 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.