On Thursday, 26 June 2014 at 11:07:37 UTC, Rene Zwanenburg wrote:
On Thursday, 26 June 2014 at 10:40:00 UTC, John Colvin wrote:
On Thursday, 26 June 2014 at 09:58:50 UTC, FreeSlave wrote:
On Thursday, 26 June 2014 at 09:05:23 UTC, pgtkda wrote:
How can i close my application by code?
Do you
On Thu, Jun 26, 2014 at 01:23:17PM +, Chris Nicholson-Sauls via
Digitalmars-d-learn wrote:
> On Thursday, 26 June 2014 at 11:07:37 UTC, Rene Zwanenburg wrote:
> >
> >They won't. Same for module destructors.
> >
> >If you need those to work, another option is to throw some custom
> >Exception t
On Thursday, 26 June 2014 at 11:07:37 UTC, Rene Zwanenburg wrote:
They won't. Same for module destructors.
If you need those to work, another option is to throw some
custom Exception type which is only caught in main.
I really wish this wasn't the answer, but for some programs I've
had to r
On Thursday, 26 June 2014 at 10:40:00 UTC, John Colvin wrote:
On Thursday, 26 June 2014 at 09:58:50 UTC, FreeSlave wrote:
On Thursday, 26 June 2014 at 09:05:23 UTC, pgtkda wrote:
How can i close my application by code?
Do you mean exit status? Just call exit function from C
library.
import
On Thursday, 26 June 2014 at 09:58:50 UTC, FreeSlave wrote:
On Thursday, 26 June 2014 at 09:05:23 UTC, pgtkda wrote:
How can i close my application by code?
Do you mean exit status? Just call exit function from C library.
import std.c.stdlib;
void main()
{
exit(0);
}
Will destructors a
On Thursday, 26 June 2014 at 09:58:50 UTC, FreeSlave wrote:
On Thursday, 26 June 2014 at 09:05:23 UTC, pgtkda wrote:
How can i close my application by code?
Do you mean exit status? Just call exit function from C library.
import std.c.stdlib;
void main()
{
exit(0);
}
wow, thank you ver
On Thursday, 26 June 2014 at 09:05:23 UTC, pgtkda wrote:
How can i close my application by code?
Do you mean exit status? Just call exit function from C library.
import std.c.stdlib;
void main()
{
exit(0);
}
How can i close my application by code?