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@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)

Reply via email to