flat assembler
Message board for the users of flat assembler.
Index
> Windows > kernel32.dll |
Author |
|
pjd 23 Jul 2007, 10:49
how do I find out what functions are in this thing and how to call each of them (argument details and so on) I can't seem to find anything on msdn
|
|||
23 Jul 2007, 10:49 |
|
vid 23 Jul 2007, 11:33
MSDN doesn't care which function comes from which DLL. It divides functions by their purpose, not by DLL they come from.
|
|||
23 Jul 2007, 11:33 |
|
pjd 23 Jul 2007, 13:15
in that case where are command line functions documented? Things like print a line or something
|
|||
23 Jul 2007, 13:15 |
|
MHajduk 23 Jul 2007, 15:08
pjd wrote: how do I find out what functions are in this thing and how to call each of them (argument details and so on) I can't seem to find anything on msdn |
|||
23 Jul 2007, 15:08 |
|
pjd 24 Jul 2007, 09:31
vid wrote: By the way, calling these "command line functions" is not very precise naming... I meant functions available when the program is in "console" mode (it's compiled with 'format PE console'. All I want is something similar to a list of system calls under a *nix |
|||
24 Jul 2007, 09:31 |
|
vid 24 Jul 2007, 10:13
|
|||
24 Jul 2007, 10:13 |
|
pjd 24 Jul 2007, 11:02
does windows have file handles for stdout/stdin/stderr like linux?
|
|||
24 Jul 2007, 11:02 |
|
crc 24 Jul 2007, 11:09
See the GetStdHandle API function: http://msdn2.microsoft.com/en-us/library/ms683231.aspx
|
|||
24 Jul 2007, 11:09 |
|
pjd 24 Jul 2007, 13:19
Where do win 32 programs stick their return values?
|
|||
24 Jul 2007, 13:19 |
|
crc 24 Jul 2007, 15:14
IIRC, the return value is in the EAX register.
|
|||
24 Jul 2007, 15:14 |
|
vador 25 Jul 2007, 08:15
Quote:
All API functions are available in console mode. You can even call CreateWindow in a console app... |
|||
25 Jul 2007, 08:15 |
|
pjd 25 Jul 2007, 12:46
vador wrote: All API functions are available in console mode. You can even call CreateWindow in a console app... So what exactly is the difference? |
|||
25 Jul 2007, 12:46 |
|
vid 25 Jul 2007, 20:31
it is just extra flag in executable, that causes windows to create console window for application (if there it isn't started from console already). That's all.
|
|||
25 Jul 2007, 20:31 |
|
vador 27 Jul 2007, 06:54
perhaps you need a complete example? (I'll try to post one if you need)
|
|||
27 Jul 2007, 06:54 |
|
pjd 27 Jul 2007, 13:38
that would be brilliant.
strangely my first working windows app (that just exited) has stopped working. Do you know where I could find a tutorial explaining how I need to change my Linux orientated assumptions about assembler (I know the obvious things like an API instead of system calls) |
|||
27 Jul 2007, 13:38 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.