directx 11 - Application works in visual studio but release/debug exe does not -


i making game using dx11. when compile , run code in visual studio works fine if try , run code .exe file in either debug or release folders got following error:

"could not initialize direct sound" 

i have not moved folders/directories @ all.

is direct sound not being compatible dx11? if why still run inside visual studio.

i using ms visual studio 10. direct sound class has following:

#pragma comment(lib, "dsound.lib") #pragma comment(lib, "dxguid.lib") #pragma comment(lib, "winmm.lib") #include <windows.h> #include <mmsystem.h> #include <dsound.h> #include <stdio.h> 

advance thanks


Comments