flat assembler
Message board for the users of flat assembler.
Index
> Windows > Arguments and return code |
Author |
|
pelaillo 11 Dec 2004, 14:12
Welcome snifit, some answers to your questions:
For PE consoles, you can use GetCommandLine api, then eax points to full command line. For PE programs, the returned code is the argument given to ExitProcess call. |
|||
11 Dec 2004, 14:12 |
|
JohnFound 11 Dec 2004, 15:12
pelaillo wrote: For PE consoles, you can use GetCommandLine api, then eax points to full command line. AFAIK, GetCommandLine API function works for GUI PE applications as well. Of course some parsing of the command line, obtined this way have to be provided. There are several procedures for this task, discussed on the forum. Regards. |
|||
11 Dec 2004, 15:12 |
|
snifit 11 Dec 2004, 15:36
Ah didn't know about that API.
Thanks this help solved my problem. |
|||
11 Dec 2004, 15:36 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.