On Wed, 04 Feb 2015 00:33:48 -0800, Jonathan M Davis via Digitalmars-d wrote:
> On Wednesday, February 04, 2015 08:18:46 Kagamin via Digitalmars-d > wrote: >> You got it declared with stdcall convention, should change to cdecl. > > Well, I have it as extern(Windows) like everything else in > core.sys.windows.windows - it has extern(Windows): at the top. Should > that be something else in this case? I'm not at all familiar with the > Windows calling conventions. for the most time `extern(Windows)` is using only for winapi calls. and `wsopen` is a library call, so it's likely an `extern(C)`.
signature.asc
Description: PGP signature