flat assembler
Message board for the users of flat assembler.
Index
> Windows > How to create a process when pressing a button? |
Author |
|
Fred 22 Oct 2010, 23:48
I'm new to (f)asm, so I tried making a simple windows proggy. It's pretty much based on the example\template.ASM and then some additions i made.
Now... it all works fine when compiling from fasmw, but starting the .exe gives a "don't send" error - but just the first time starting it. I have tried some stuff to fix it, but I'm not even sure of what causes it. Here's the code if you want to see it. It's probably just some silly error, but I can't detect such things yet. :P Last edited by Fred on 23 Oct 2010, 22:47; edited 1 time in total |
|||
22 Oct 2010, 23:48 |
|
revolution 23 Oct 2010, 00:01
The problem appears to be here:
Code: invoke LoadIcon |
|||
23 Oct 2010, 00:01 |
|
Fred 23 Oct 2010, 02:56
Bah, what a miss. >_>
Thanks guys! :P |
|||
23 Oct 2010, 02:56 |
|
Fred 23 Oct 2010, 22:47
Okay, so I have my awesome sucky program here with a button. Say I want to run some other .exe when pressing the button (and send along some command line arguments). How would I go about to do something like that?
|
|||
23 Oct 2010, 22:47 |
|
revolution 23 Oct 2010, 23:22
Code: invoke CreateProcess,... |
|||
23 Oct 2010, 23:22 |
|
Fred 23 Oct 2010, 23:54
Seems about right, thanks. I'm not very good at hunting down stuff on msdn, heh.
|
|||
23 Oct 2010, 23:54 |
|
revolution 24 Oct 2010, 00:03
Fred wrote: I'm not very good at hunting down stuff on msdn, heh. |
|||
24 Oct 2010, 00:03 |
|
Fred 24 Oct 2010, 19:05
If I knew what to search for sure. : P
|
|||
24 Oct 2010, 19:05 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.