Strange stack variable corruption error after calling extern(C) function

Stefan Koch via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Apr 16 01:42:41 PDT 2017


On Sunday, 16 April 2017 at 08:34:12 UTC, cc wrote:
> All this with extern(Windows) rather than extern(C) by the way.

Why not use loadLibraryA ?
then all the problems go away :)
this is how derelict does it as well.


More information about the Digitalmars-d-learn mailing list