Request assistance binding to Windows dsound.{lib, dll}
John via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri May 27 13:59:56 PDT 2016
Additionally, remove QueryInterface, AddRef and Release from the
definition of IDirectSound. Also, interfaces are already
references, so the definition of LPDIRECTSOUND should be:
alias LPDIRECTSOUND = IDirectSound;
Note there should be no *.
Regarding any linking errors, it's easier to either grab the .lib
files from the Windows SDK and convert them with coffimplib, or
use the m32mscoff switch so you can link with the SDK .lib files
directly.
More information about the Digitalmars-d-learn
mailing list