Strange stack variable corruption error after calling extern(C) function
Benjamin Thaut via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed May 4 02:40:55 PDT 2016
On Tuesday, 3 May 2016 at 19:06:30 UTC, cc wrote:
>
> it fails to link with "Error 42: Symbol Undefined
> _FMOD_System_CreateSound at 20". With extern(C) it compiles and
> runs but the problem from above persists.
Is this on Windows x64? Try replacing FMOD_RESULT by int. When
declaring the fmod create sound function and see if that helps.
More information about the Digitalmars-d-learn
mailing list