Re: Contest 2 Announcement:

new topic     » goto parent     » topic index » view thread      » older message » newer message

Andy Serpa wrote:

> addr = allocate_string(cmdline) -- command to run child program ("exw
> program.exw")

Andy: 

   To save typing you didn't need to use allocate_string.

> 
> 	-- Create the child process.
>    bFuncRetn = CreateProcessA({
>       0,			-- app name (we use command line instead)
>       addr,			-- command-line

      You could have used a temporary ascii string in place of addr, :

      sz(cmdline),          -- command-line

 
> 	free(addr)

       szfree()         -- free any tempoary strings


Bernie

My files in archive:
w32engin.ew mixedlib.e eu_engin.e win32eru.ew

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu