Request assistance binding to Windows dsound.{lib, dll}
Guillaume Piolat via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri May 27 05:30:50 PDT 2016
On Friday, 27 May 2016 at 12:26:19 UTC, Andrew Edwards wrote:
>
> OPTLINK (R) for Win32 Release 8.00.17
> Copyright (C) Digital Mars 1989-2013 All rights reserved.
> http://www.digitalmars.com/ctg/optlink.html
> sound.obj(sound)
> Error 42: Symbol Undefined _DirectSoundCreate at 12
> --- errorlevel 1
>
Have you tried with extern(C) yet?
extern(C) is for undecorated symbold
extern(Windows) adds the _ and @12 decorations (would be
__stdcall on C/C++ side)
More information about the Digitalmars-d-learn
mailing list