|
Author |
Thread |
 |
|
scientica
Retired moderator
Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
|
Windows Frequently Asked Questions (FAQ)
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 (
) 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
|
01 Nov 2004, 11:56 |
|
vbVeryBeginner
Joined: 15 Aug 2004
Posts: 885
Location: \\world\asia\malaysia
|
Windows System Programming 3rd Edition
is a nice book.
Last edited by vbVeryBeginner on 12 Apr 2006, 07:42; edited 3 times in total
|
03 Sep 2005, 08:19 |
|
f0dder
Joined: 19 Feb 2004
Posts: 3172
Location: Denmark
|
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?
|
04 Sep 2005, 03:56 |
|
Reverend
Joined: 24 Aug 2004
Posts: 409
Location: Poland
|
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?
|
04 Sep 2005, 09:52 |
|
vid
Verbosity in development
Joined: 05 Sep 2003
Posts: 7109
Location: Slovakia
|
Re: Windows Frequently Asked Questions (FAQ)
scientica wrote: |
[list][*] Some usefull OpenGL macros - I moddestly (  ) 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?
|
12 Jan 2006, 17:22 |
|
scientica
Retired moderator
Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
|
possible, I really really really need to refresh my memory by reading the docs again now.
|
30 Oct 2006, 09:57 |
|
polygon7
Joined: 14 Aug 2003
Posts: 62
Location: Poznan, Poland
|
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
|
18 Mar 2007, 11:05 |
|
LocoDelAssembly
Your code has a bug
Joined: 06 May 2005
Posts: 4634
Location: Argentina
|
This thread has been unstuck by scientica, should I stick it back?
|
24 Jan 2010, 00:01 |
|
revolution
When all else fails, read the source
Joined: 24 Aug 2004
Posts: 15646
Location: Thasus
|
What was the reason for unsticking it?
|
24 Jan 2010, 02:00 |
|
windwakr
Joined: 30 Jun 2004
Posts: 827
Location: Michigan, USA
|
revolution wrote: |
What was the reason for unsticking it?
|
|
He made a new thread. He links to this one in that one saying
_________________ ----> * <---- My star, won HERE
|
24 Jan 2010, 02:36 |
|
LocoDelAssembly
Your code has a bug
Joined: 06 May 2005
Posts: 4634
Location: Argentina
|
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 
|
24 Jan 2010, 05:24 |
|
scientica
Retired moderator
Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
|
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
|
|
Yes right now it contains less than the old one, and no you're not rude
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
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  (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
|
24 Jan 2010, 10:14 |
|
LocoDelAssembly
Your code has a bug
Joined: 06 May 2005
Posts: 4634
Location: Argentina
|
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.
|
24 Jan 2010, 16:29 |
|
f0dder
Joined: 19 Feb 2004
Posts: 3172
Location: Denmark
|
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).
_________________  - carpe noctem
|
24 Jan 2010, 17:00 |
|
scientica
Retired moderator
Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
|
@LocoDelAssembly: sure be my guest
@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.
|
25 Jan 2010, 10:06 |
|
rxantos
Joined: 19 Jul 2008
Posts: 41
|
Where can I find fasm includes? Decard site does not work.
|
12 Jul 2010, 17:30 |
|
vid
Verbosity in development
Joined: 05 Sep 2003
Posts: 7109
Location: Slovakia
|
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.
|
13 Jul 2010, 10:53 |
|
typedef
Joined: 25 Jul 2010
Posts: 2910
Location: 0x77760000
|
Why?
Last edited by typedef on 17 Feb 2014, 22:48; edited 1 time in total
|
21 Sep 2010, 23:44 |
|
revolution
When all else fails, read the source
Joined: 24 Aug 2004
Posts: 15646
Location: Thasus
|
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.
|
22 Sep 2010, 03:58 |
|
|
|
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
|
|
|
|
|
|
|
|
|