problem creating a 32-bit dll

Jakob Ovrum via Digitalmars-d digitalmars-d at puremagic.com
Tue Aug 26 08:16:11 PDT 2014


On Tuesday, 26 August 2014 at 14:48:05 UTC, nezih wrote:
> Hi everyone,
> I am trying to create a 32-bit dll (on windows server 2012 
> 64-bit) for an odbc driver, but no luck so far.

Are you using DMD32 with OPTLINK? If so, are you sure the first 
exported symbol doesn't accidentally have a leading underscore in 
the resulting DLL? I'm not sure in which DMD release this bug was 
fixed[1], but I've always had to work around it in my own 
OPTLINK-made DLLs.

[1] https://github.com/DigitalMars/optlink/pull/10


More information about the Digitalmars-d mailing list