flat assembler
Message board for the users of flat assembler.
Index
> Main > Why i not get in text file info from fasm.exe about error ? |
Author |
|
Roman 26 Oct 2017, 07:24
PS: I try do bat fasm DX11.asm -s d11.fas
but get very big text file. I get all lines my code in d11.fas ! This method uncomfortable. Very big text file. |
|||
26 Oct 2017, 07:24 |
|
Tomasz Grysztar 26 Oct 2017, 07:48
The information about error goes to STDERR and not STDOUT. Use "2>>" to redirect it:
Code: fasm.exe "DX11.asm" d11.exe >> out.txt 2>> err.txt |
|||
26 Oct 2017, 07:48 |
|
Roman 26 Oct 2017, 07:58
Thanks Tomasz for your help !
Now work perfect ! |
|||
26 Oct 2017, 07:58 |
|
Roman 26 Oct 2017, 08:22
My Question.
Impassible output info(not in file err.txt) in commandline or win clipboard ? And my program get this info from (invoke GetCommandLine ) |
|||
26 Oct 2017, 08:22 |
|
donn 26 Oct 2017, 20:30
Hi Roman,
I don't really use the console much, but if you're trying to write to the console, maybe something along the lines of: Code: sub rsp, 8*6 mov qword [rsp+4*8], 0 ;Reserved mov r9, outWritten mov r8d, [charCount] ;charCount mov rdx, buffChar mov rcx, [consoleHandle] call [WriteConsoleA] add rsp, 8*6 If you're just trying to get standard error to the console window instead of a file, think it should just be a matter of proper redirection https://support.microsoft.com/en-us/help/110930/redirecting-error-messages-from-command-prompt-stderr-stdout. If you're using DX11, you may need to redirect the window'ed app some more, not sure. Just some ideas, good luck. https://docs.microsoft.com/en-us/windows/console/setstdhandle |
|||
26 Oct 2017, 20:30 |
|
Roman 10 Nov 2017, 07:09
Finally i have fasm compilation in my Directx 11 program !
Enjoy ! www.youtube.com/watch?v=gECOCcUb0GM&feature=youtu.be https://www.youtube.com/watch?v=1w0qorYW1kE&feature=youtu.be https://www.youtube.com/watch?v=MN7h3bTEnqk&feature=youtu.be https://www.youtube.com/watch?v=LkLNXrvH_aw&feature=youtu.be https://www.youtube.com/watch?v=_5d7VMeapRs&feature=youtu.be Last edited by Roman on 10 Nov 2017, 13:25; edited 4 times in total |
|||
10 Nov 2017, 07:09 |
|
Roman 10 Nov 2017, 07:20
|
|||
10 Nov 2017, 07:20 |
|
Roman 10 Nov 2017, 07:28
|
|||
10 Nov 2017, 07:28 |
|
donn 10 Nov 2017, 17:07
Nice, you got the error info
|
|||
10 Nov 2017, 17:07 |
|
Roman 10 Nov 2017, 19:05
Thanks.
Now GUI looks awful. I must do many things in my program. And make GUI interface more enjoyable. Now i upgrade my GUI interface for crazy things. |
|||
10 Nov 2017, 19:05 |
|
Roman 11 Nov 2017, 18:41
New video.
Update background. And add 2 cool things ! https://www.youtube.com/watch?v=ejYDVofkRs0&feature=youtu.be |
|||
11 Nov 2017, 18:41 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.