An error occurred that wasn't supposed to. Contact support.

when i use fmod::studio system->initialize(256, FMOD_STUDIO_INIT_NORMAL, FMOD_INIT_NORMAL, 0) i got an error 28 it say : An error occurred that wasn’t supposed to. Contact support. how can i to solve this problem, help

[LOG] System::create                           : Header version = 1.5.14.  Current version = 1.5.14.
[LOG] SystemI::init                            : FMOD Studio Version: 00010514 (62598)
[LOG] SystemI::init                            : maxchannels = 128, flags = 00000000, extradriverdata = 00000000
[LOG] SystemI::close                           : 
[LOG] SystemI::close                           : Stop all sounds
[LOG] SystemI::close                           : Remove miscllaneous DSP stuff.
[LOG] SystemI::close                           : done.

[LOG] SystemI::init                            : Set up software engine
[LOG] OutputDSound::registerDLL                : Register DLL
[LOG] OutputDSound::registerDLL                : Detected DIRECTX 9
[LOG] OutputDSound::init                       : Enumerate Drivers
[LOG] FMOD_Output_DSound_EnumProc              : Enumerating "Realtek HD Audio output"
[LOG] OutputDSound::init                       : DirectSoundCreate8 : mSelectedDriver = 0
[LOG] OutputDSound::init                       : SetCooperativeLevel
[LOG] OutputDSound::init                       : GetCaps
[LOG] OutputDSound::init                       : Create Primary Buffer
[LOG] OutputDSound::init                       : Set Primary Buffer Format
[LOG] OutputDSound::init                       : Done
[ERR] assert                                   : assertion: '(speakermode > FMOD_SPEAKERMODE_DEFAULT) && (speakermode < FMOD_SPEAKERMODE_MAX)' failed
[LOG] Global::decRef                           : Shut down streamer and FMOD_NONBLOCKING and FileSystem thread.
[LOG] Global::decRef                           : Shut down file system.
[LOG] SystemI::close                           : 
[LOG] SystemI::close                           : Stop all sounds
[LOG] SystemI::close                           : Shut down output.
[LOG] OutputDSound::close                      : 
[LOG] OutputDSound::close                      : FreeLibrary on dsound.dll
[LOG] OutputDSound::close                      : Free driver list
[LOG] OutputDSound::close                      : done
[LOG] SystemI::close                           : Free software output.
[LOG] SystemI::close                           : Remove miscllaneous DSP stuff.
[LOG] SystemI::close                           : done.

[LOG] OutputDSound::close                      : 
[LOG] OutputDSound::close                      : FreeLibrary on dsound.dll
[LOG] OutputDSound::close                      : Free driver list
[LOG] OutputDSound::close                      : done

in some machine it appear but in other not.

Could you include the output of the logging version of FMOD in your question please?

i have include the output of the logging version, but i can’t find log file, where to find the log file?

there is no editor in this machine that has problem, so i can’t see the logging. could it create a log file for me to see?

The provided log information is what I was looking for. Are you on Windows XP? If so could you try calling System::setSoftwareFormat(48000, FMOD_SPEAKERMODE_STEREO, 0) before System::init. If not could you try removing the call to System::setOutput. Please post your update output if it fails with my suggested changes.

yes, i am on windows xq, thank you, by calling System::setSoftwareFormat,i have solve the problem,thank you!

the problem has been solved.