Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

0 votes
I'm currentl in the process of integrating Wwise into my game project (as of now it's just in a separate visual studios 2012 solution). I have been following the CHM help file as a guide for how to set up the playing of sounds and what not. The problem I'm having is when I build and run my project it crashes in winmain.cpp's function AfxWinMain when it tries to acces a null thread pointer. I honestly do not have any idea what caused this issue or how to go about solving it.

Here are some project settings I have set up:

General -> Use of MFC: Use MFC in a Shared DLL

C/C++ -> Additional Include Directories: C:\Program Files %28x86%29\Audiokinetic\Wwise v2013.1.3 build 4687\SDK\include

C/C++ -> Code Generation -> Runtime Library: Multi-threaded Debug DLL (/MDd)

Linker -> Additional Library Directories: C:\Program Files %28x86%29\Audiokinetic\Wwise v2013.1.3 build 4687\SDK\Win32_vc110\Debug\lib

Linker -> Additional Dependencies: AkSoundEngine.lib
AkMusicEngine.lib
CommunicationCentral.lib
AkMemoryMgr.lib
AkStreamMgr.lib
dxguid.lib
ws2_32.lib
dsound.lib
dinput8.lib
xinput.lib

Linker -> System ->SubSystem: Windows (/SUBSYSTEM:WINDOWS)
in General Discussion by Cody C. (100 points)

1 Answer

0 votes
We recommend you take a look at the Integration Demo project and solution to know how to setup your Visual Studio project correctly.

You can find it in:

C:\Program Files (x86)\Audiokinetic\Wwise v????.? build ????\SDK\samples\IntegrationDemo
by Bernard R. (Audiokinetic) (35.8k points)
I'll give that a shot, thank you!
...