Linking against a Win32-DLL

Marc Müller dont at spam.me
Mon Jul 9 04:05:56 PDT 2007


> Is it possible you're doing extern(C) when you need to be doing 
> extern(Window), or vice versa?
> 
> I don't have much experience with that so I'm just throwing it out. 
> Maybe it just won't link if you get that wrong.

With extern(Windows) the program does not link :-(

I simplified the program and wrote it to
digitalmars.D.learn ("Problems when using DLL-Functions")
as Bjoern suggested.

Again - thanks a lot for your help!
	-Marc-



More information about the Digitalmars-d mailing list