On Wed, 18 Aug 2010 13:50:34 -0400, Nick Sabalausky wrote:
> "Steven Schveighoffer" wrote in message
> news:op.vhl46mdneav...@localhost.localdomain...
>>
>> Changes are afoot to std.process, we recently got a blocker fixed (not
>> yet in svn, but someone submitted a correct patch)
>>
>>
> Issue #
"Steven Schveighoffer" wrote in message
news:op.vhl46mdneav...@localhost.localdomain...
>
> Changes are afoot to std.process, we recently got a blocker fixed (not yet
> in svn, but someone submitted a correct patch)
>
Issue #?
On Tue, 17 Aug 2010 17:40:02 -0400, John Connors
wrote:
Hi.
This is my entire program:
import std.process: system;
int main(string[] argv)
{
return system(r"bin\someprogram.exe");
}
It works but a console (from my program) apears while someprogram.exe is
running. I've read that so
That worked. Thanks.
Still wonder why execvp with a simple main() (someprogram.exe is not executed).
But for now the WinMain() version will do.
Thanks again.
On Tue, 17 Aug 2010 22:27:19 +, John Connors wrote:
> The console is still showing. Any ideas why?
try std.process.execvp
My small loader is not so small anymore. I've modified it according to the
sample
but the console is still showing:
import core.runtime;
import std.c.windows.windows;
import std.process: system;
extern (Windows)
int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int
nCmdS
Michal Minich Wrote:
> On Tue, 17 Aug 2010 21:40:02 +, John Connors wrote:
>
> > Hi.
> >
> > This is my entire program:
> >
> > import std.process: system;
> >
> > int main(string[] argv)
> > {
> > return system(r"bin\someprogram.exe");
> > }
> >
> > It works but a console (from my pr
On Tue, 17 Aug 2010 16:40:02 -0500, John Connors
wrote:
[snip]
It works but a console (from my program) apears while someprogram.exe is
running. I've read that some optlink switches are needed to make the
console disapear.
Try using WinMain instead of main:
---
import core.runtime;
imp
On Tue, 17 Aug 2010 22:01:06 +, Michal Minich wrote:
>> Do you care to give me the correct switches?
>>
>> Thanks
>
> this example does not shows console. Maybe you can simplify it.
> http://digitalmars.com/d/2.0/windows.html
It was mentioned on NG that you don't need anymore WinMain and in
On Tue, 17 Aug 2010 21:40:02 +, John Connors wrote:
> Hi.
>
> This is my entire program:
>
> import std.process: system;
>
> int main(string[] argv)
> {
> return system(r"bin\someprogram.exe");
> }
>
> It works but a console (from my program) apears while someprogram.exe is
> running
Hi.
This is my entire program:
import std.process: system;
int main(string[] argv)
{
return system(r"bin\someprogram.exe");
}
It works but a console (from my program) apears while someprogram.exe is
running. I've read that some optlink switches are needed to make the console
disapear. T
11 matches
Mail list logo