Re: chaining

2009-02-27 Thread Brian
On Thu, 26 Feb 2009 09:45:28 +0100, grauzone wrote: Brian wrote: I want to use a chaining system for easy setting of object attributes, which would work great for a single object, unfortunately derived classes cannot inherit the chained functions implicitly, whats the best way around this?

Re: Access Vialotation

2009-02-27 Thread Qian Xu
UPDATE: I am using gdc compiler in Linux

Re: finding dmd.conf

2009-02-27 Thread Moritz Warning
On Fri, 27 Feb 2009 15:54:46 +0100, Lutger wrote: I'm having some trouble with dmd.conf. I set up a (soft) symbolic link to the dmd/bin path version I want to use, but dmd can't find dmd.conf: $ which dmd /home/lutger/code/bin/dmd/bin/dmd $ dmd main.d object.d: module object cannot

Re: finding dmd.conf

2009-02-27 Thread Lutger
Moritz Warning wrote: ... Have you tried to add your dmd/bin to your PATH environment variable? Yes it's there and dmd got properly picked up by the 'which' command.

Re: Access Vialotation

2009-02-27 Thread BCS
Reply to Jarrett, On Fri, Feb 27, 2009 at 9:01 AM, Qian Xu quian...@stud.tu-ilmenau.de wrote: Hi All, Is there any way to keep program alive, when an AV takes place? It's possible on Windows in D, but that's because Windows reports segfaults with the same mechanism that D uses for

Re: Access Vialotation

2009-02-27 Thread Jarrett Billingsley
On Fri, Feb 27, 2009 at 2:31 PM, BCS a...@pathlink.com wrote: you can have a posix signal handler throw an exception (I have done it and had it work) but I have no idea if it is supported. Yeah, that seems dubious to me. I don't know what kinds of guarantees, if any, the signal handler has

my first link error: Error 42: Symbol Undefined __moduleUnitTests

2009-02-27 Thread Fei
I'm trying to compile my first d sample, winsamp.d, using dmd 2.025 for windows. dmd winsamp.d gdi32.lib everything seem ok but I got a link error : Error 42: Symbol Undefined __moduleUnitTests what lib should I include for moduleUnitTetst?

Re: my first link error: Error 42: Symbol Undefined __moduleUnitTests

2009-02-27 Thread Jarrett Billingsley
On Fri, Feb 27, 2009 at 8:37 PM, Fei flyin...@gmail.com wrote: I'm trying to compile my first d sample, winsamp.d, using dmd 2.025 for windows. dmd winsamp.d gdi32.lib everything seem ok but I got a link error : Error 42: Symbol Undefined __moduleUnitTests what lib should I include for

Re: finding dmd.conf

2009-02-27 Thread Jesse Phillips
On Fri, 27 Feb 2009 15:54:46 +0100, Lutger wrote: I'm having some trouble with dmd.conf. I set up a (soft) symbolic link to the dmd/bin path version I want to use, but dmd can't find dmd.conf: $ which dmd /home/lutger/code/bin/dmd/bin/dmd $ dmd main.d object.d: module object cannot

Reading and writing Unicode files

2009-02-27 Thread jicman
Greetings. Sorry guys, please be patient with me. I am having a hard time understanding this Unicode, ANSI, UTF* ideas. I know how to get an UTF8 File and turn it into ANSI. and I know how to take a ANSI file and turn it into an UTF file. But, now I have a Unicode file and I need to change