Re: 64bit window headers

2013-06-17 Thread new
thank you all for your help.

64bit window headers

2013-06-16 Thread new
hi, are there any 64bit windows header files availabe?

Re: Stack trace

2013-06-12 Thread New guy
Ahh, looks like the stack trace is supported only in debug mode. -g option made the exception to spit out the function names. $ rdmd -g t.d object.Exception@t.d(5): in f1 0x0040CC9C in char[][] core.sys.windows.stacktrace.StackTrace.trace() 0x0040CB27 in core.sys.windows.stack

Stack trace

2013-06-12 Thread New guy
Could someone please tell me how can I get the stack trace when an exception is thrown? My test code: Code: - void f1() { throw new Exception("in f1"); } void f2() { f1(); } void f3() { f2(); } void main() { f3();

Re: (no subject)

2010-06-06 Thread new to d
new to d Wrote: > Robert Clipsham Wrote: > > > On 06/06/10 14:00, new to d wrote: > > > It's a typical hello world program: > > > > > > import std.stdio; > > > > > > void main(string[] args) { writeln("Hello world!"); } &g

Re: (no subject)

2010-06-06 Thread new to d
Robert Clipsham Wrote: > On 06/06/10 14:00, new to d wrote: > > It's a typical hello world program: > > > > import std.stdio; > > > > void main(string[] args) { writeln("Hello world!"); } > > > > I also tried using printf instead of

Re: (no subject)

2010-06-06 Thread new to d
Robert Clipsham Wrote: > On 06/06/10 13:40, new to d wrote: > > After reading on this newsgroup about the use of D with cgi i've > > tried it on my host. Even a simple hello world program gives me > > internal server error while equivalent c program compiled with gcc &g

CGI with D

2010-06-06 Thread new to d
new to d Wrote: > After reading on this newsgroup about the use of D with cgi i've tried it on > my host. Even a simple hello world program gives me internal server error > while equivalent c program compiled with gcc works fine. Does any one here > have any idea what the pro

(no subject)

2010-06-06 Thread new to d
After reading on this newsgroup about the use of D with cgi i've tried it on my host. Even a simple hello world program gives me internal server error while equivalent c program compiled with gcc works fine. Does any one here have any idea what the problem could be?

Re: Flatten range of ranges

2010-05-06 Thread new to d
Philippe Sigaud Wrote: > On Thu, May 6, 2010 at 18:24, Ali Çehreli wrote: > > > Ali Çehreli wrote: > > > >> new to d wrote: > >> > >>> Is there any function in phobos that does something like that: > >>> > >>> auto a = [[1,

Flatten range of ranges

2010-05-06 Thread new to d
Is there any function in phobos that does something like that: auto a = [[1,2],[3,4]]; assert(equals(flatten(a), [1,2,3,4])); I am just learning D and ca't find anything like that in the docs.

convert and assign to the BSTR char

2009-04-18 Thread new
hi, how does one convert char[] to BSTR and back? i am looking to use a dll that contains function such as BSTR tester = gettest(BSTR *in, BSTR in1); any help is appreciated.

Re: custom opCmp for array sort

2008-12-01 Thread New
Thanks very much indeed for your help. The version posted does work. Unfortunately I won't be able to use D for my project, this bug has scared the management, D is still a moving target. I will have to wait until it is more stable. Cheers. Gide Nwawudu Wrote: > On Fri, 28 Nov 2008 13:58:28

Re: custom opCmp for array sort

2008-11-28 Thread New
Small correction, the code I posted works with D1.0 but not with D2.0. What do I need to change to make it work with D 2.0? is it better to use D 2 or D 1? sorry for crossposting, I started my questions on the D group but I was instructed to ask here. thanks New Wrote: > Hello, >

custom opCmp for array sort

2008-11-28 Thread New
Hello, I originally posted this question to the wrong group, I am trying here as suggested. I am new with D and am stuck with something I hope somebody can help me with it. I am trying sort an array of paths which can take the two following forms: /usr---> normal path /