flat assembler
Message board for the users of flat assembler.
Index
> Windows > compile error |
Author |
|
xellos 31 Oct 2010, 19:52
oke i got the .bin file but how to make an exe ?
|
|||
31 Oct 2010, 19:52 |
|
Overflowz 31 Oct 2010, 20:14
add at 1st line
format PE GUI ; for gui format PE console ; for console |
|||
31 Oct 2010, 20:14 |
|
Tyler 31 Oct 2010, 21:01
Code: format pe gui 4.0 entry start include 'c:\fasm\include\win32ax.inc' section '.text' code executable readable proc start invoke MessageBox,HWND_DESKTOP,"Hi! I'm the example program!",invoke GetCommandLine,MB_OK invoke ExitProcess,0 enp Somebody else will have to show you how to import MsgBox and ExitP, b/c I can't remember and I don't have any of my old sources to look at. Last edited by Tyler on 31 Oct 2010, 23:34; edited 1 time in total |
|||
31 Oct 2010, 21:01 |
|
revolution 31 Oct 2010, 23:18
xellos wrote: when i try to compile it i get the error write failed |
|||
31 Oct 2010, 23:18 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.