[snip] It works but a console (from my program) apears while someprogram.exe isrunning. I've read that some optlink switches are needed to make the console disapear.
Try using WinMain instead of main: --- import core.runtime; import std.c.windows.windows, std.process; extern(Windows) int WinMain( HINSTANCE, HINSTANCE, LPSTR, int ) { return system( r"bin\someprogram.exe" ); } --- -- Yao G.