A Simple DLL Wrapper

Bill Baxter dnewsgroup at billbaxter.com
Thu Feb 22 18:10:31 PST 2007

David L. Davis wrote:
> You're example template/mixin complies and runs fine with dmd v1.007 under 
> WinXP SP2...I see the Messagebox message and the handle ID number in the 
> console area for the main windows' desktop. Tis pretty Kool what you've 
> done! Good work. :)
> So what's problem you're seeing?

That is pretty cool!

It almost works!

It seems only the first two parameters are actually passed correctly -- 
which makes me thing that maybe the extern(Windows) is getting ignored 
or handled incorrectly somehow.
Could this be related?

Actually you can remove the extern(Windows) completely from your code 
and you get the same result.   So it probably is getting ignored.


More information about the Digitalmars-d-learn mailing list