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
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
On Fri, Feb 27, 2009 at 8:37 PM, Fei 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 moduleUnitT
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?
On Fri, Feb 27, 2009 at 2:31 PM, BCS 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 as to what thre
Reply to Jarrett,
On Fri, Feb 27, 2009 at 9:01 AM, Qian Xu
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 exceptions. Since
Linux (and many o
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.
On Fri, Feb 27, 2009 at 9:01 AM, Qian Xu wrote:
> Hi All,
>
> Is there any way to keep program alive, when an AV takes place?
>
> -- demo ---
> module NullPointerExceptionTest;
>
> class Foo {
> void bar() {}
> }
>
> void main() {
> Foo foo; // foo is still NULL
> tr
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
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 read file 'object.d'
$> /home/lutger/code/bin/dmd/bin/dmd
UPDATE: I am using gdc compiler in Linux
Hi All,
Is there any way to keep program alive, when an AV takes place?
-- demo ---
module NullPointerExceptionTest;
class Foo {
void bar() {}
}
void main() {
Foo foo; // foo is still NULL
try {
foo.bar(); // A NullPointerException will be thrown
}
catc
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
13 matches
Mail list logo