Regan: CreateProcess()?

Regan Heath regan at netmail.co.nz
Wed Sep 26 05:27:58 PDT 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: createprocess.zip
Type: application/x-zip-compressed
Size: 3044 bytes
Desc: not available
Url : http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20070926/e4e425b7/attachment.bin 


More information about the Digitalmars-d-learn mailing list