Biggest problems w/ D

Gilles G. schaouette at free.fr
Fri Aug 10 05:58:08 PDT 2007


Paul Findlay Wrote:

> > Unfortunately, no.
> > I tried:
> > const char[15] DLL_NAME="The DLL name";
> Hmm.. String literals are supposed to have an additional '\0' (assuming that
> is the problem), so you could also try:
> name = "The DLL Name".ptr
> 
> Sorry about this being the blind leading the blind..
I already tried this one! (doesn't work either)
(In fact I tried
const char[15] DLL_NAME="The DLL name\0"; )
> 
>  - Paul




More information about the Digitalmars-d mailing list