flat assembler
Message board for the users of flat assembler.

Index > Windows > executing another program in console app

Author
Thread Post new topic Reply to topic
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
how do i execute another process in my console app?

I want to make wrapper for console app which will pass all arguments except
first one to another app. stupid MS C can't handle "C:\Program Files\something\somehing.exe" (with "s) as one argument, so something.exe gets "Files\something\something.exe" as first argument. Maybe the problem is elsewhere, i don't want to investigate but it doesn't care.

thanks.
Post 15 Jul 2005, 08:35
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17278
Location: In your JS exploiting you and your system
revolution
Code:
invoke CreateProcess,....
    
Post 15 Jul 2005, 08:55
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
well, i can make that out myself. I have trouble with argument settings.
Post 15 Jul 2005, 09:13
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17278
Location: In your JS exploiting you and your system
revolution
Do you have the WIN32 API reference? It is all explained in there very nicely.
Post 15 Jul 2005, 09:31
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
ok, forget it
Post 15 Jul 2005, 09:31
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.