Re: How to compile and test samples under Windows?

2013-11-09 Thread Adam D. Ruppe
This reminded me to come back to this (I was commenting on stack overflow a few days ago too). Spun up an XP box and now I can reproduce your problem. Strangely, the same exe and dll work on Vista computer still! But at least I can see the problem on XP so maybe I can help figure this out

Re: How to compile and test samples under Windows?

2013-11-09 Thread Adam D. Ruppe
Aaaand figured it out: actually, the fact it worked on Vista but not on XP was the key clue and I'm ashamed I didn't realize this earlier. This comment hints at it too in dserver.d // Multiple threads not supported yet Anyway, D's thread local storage doesn't quite work right on

Re: How to compile and test samples under Windows?

2013-11-09 Thread Adam D. Ruppe
On Saturday, 9 November 2013 at 23:37:38 UTC, Adam D. Ruppe wrote: regsvr32.exe still fails though, on XP (works on Vista), I must still be missing something. But this is a lot closer already I fixed this by commenting out the call to gc_init in dserver.d's DllMain (thereabouts line 140).

Re: How to compile and test samples under Windows?

2013-11-07 Thread Adam Ryczkowski
Is this simple enough to explain me what I need to do? I'm new to the D language.

How to compile and test samples under Windows?

2013-11-06 Thread Adam Ryczkowski
I installed the DMD32 D Compiler v2.063.2 into C:\ I try to complie and test the dserver.d sample specifically, but when I run build.bat in the dmd2\samples\d directory, I've got the following errors. C:\D\dmd2\samples\d..\..\windows\bin\shell all.sh shell 1.05 ..\..\windows\bin\dmd d2html

Re: How to compile and test samples under Windows?

2013-11-06 Thread evilrat
On Wednesday, 6 November 2013 at 09:02:57 UTC, Adam Ryczkowski wrote: I installed the DMD32 D Compiler v2.063.2 into C:\ I try to complie and test the dserver.d sample specifically, but when I run build.bat in the dmd2\samples\d directory, I've got the following errors.

Re: How to compile and test samples under Windows?

2013-11-06 Thread Adam Ryczkowski
Thank you for the answer. This is the contents of the build.bat, which is shipped with the D instalation: ..\..\windows\bin\shell all.sh Can you tell me, what is outdated?

Re: How to compile and test samples under Windows?

2013-11-06 Thread evilrat
On Wednesday, 6 November 2013 at 10:38:29 UTC, Adam Ryczkowski wrote: Thank you for the answer. This is the contents of the build.bat, which is shipped with the D instalation: ..\..\windows\bin\shell all.sh Can you tell me, what is outdated? pi sample at least has compile errors.

Re: How to compile and test samples under Windows?

2013-11-06 Thread Adam Ryczkowski
...All the samples I use are shipped with the DMD32 D Compiler v2.063.2 instalation package for Windows. I've just reinstalled D to make sure that.

Re: How to compile and test samples under Windows?

2013-11-06 Thread evilrat
On Wednesday, 6 November 2013 at 10:46:39 UTC, Adam Ryczkowski wrote: ...All the samples I use are shipped with the DMD32 D Compiler v2.063.2 instalation package for Windows. I've just reinstalled D to make sure that. no, i mean its not get updated to fetch with phobos changes. though it