Regan: CreateProcess()?

okibi okibi at ratedo.com
Wed Sep 26 05:39:18 PDT 2007


Well, I was going by what clay had said regarding setting the program to CMD.exe and the arguments to the batch script. Simply hitting the batch script works fine, apparently.

Thanks for all your help!

Regan Heath Wrote:

> okibi wrote:
> > Apparently it wasn't setup... I glanced over it and thought I saw the CREATE_NO_WINDOW reference. Anyways, it's there now.
> > 
> > It's still creating the window while running the batch script.
> 
> It's working for me with either CREATE_NO_WINDOW or DETACHED_PROCESS or 
> both.  Attached is the source (mofified to work with D 2.0).  Note that 
> I defined:
> 
> const CREATE_NO_WINDOW = 0x08000000;
> 
> in windows.d.
> 
> Compile with "dmd createprocess windows test" then run "createprocess.exe".
> 
> Regan
> 



More information about the Digitalmars-d-learn mailing list