problem creating a 32-bit dll

nezih via Digitalmars-d digitalmars-d at puremagic.com
Wed Aug 27 04:05:33 PDT 2014


Answering my own question: seems like the 32-bit binary gets 
linked against user32.lib even though I don't specify 
-Luser32.lib, but I have to specify that for the 64-bit build.

On Wednesday, 27 August 2014 at 09:01:12 UTC, nezih wrote:
> but then does that mean the linker already link user32.lib?
>
> On Wednesday, 27 August 2014 at 05:42:06 UTC, kdmult wrote:
>> On Tuesday, 26 August 2014 at 20:41:27 UTC, nezih wrote:
>>> Thanks! That did the trick. Btw do you have any idea about 
>>> getting rid of the linker's warning message about the 
>>> user32.lib? I played with the LIB env variable in several 
>>> ways and I also edited sc.ini to set the LIB but no luck so 
>>> far.
>>
>> Just remove -Luser32.lib from the command line.



More information about the Digitalmars-d mailing list