Some weird crashes

simendsjo simen.endsjo at pandavre.com
Tue Mar 8 12:57:01 PST 2011


On 08.03.2011 01:32, Andrej Mitrovic wrote:
> Sorry for not seeing this sooner. I think you might have set the wrong
> calling convention in the translated header file. See my answer on SO.
> I hope it works for you now.

Thanks. Just to get the solution here too:

* Use the vs2005 library (to get COFF?)
* coffimplib
* wrap __stdcall in extern(Windows)

One more thing..
Function pointers in structs.. Should they use extern(Windows) too?


More information about the Digitalmars-d-learn mailing list