0
0

Greetings!
My problem is the following.
I copied initialization code to DLL, that is attached to application dynamically in a separate thread. The code is the following:

[code:2zrkbpil]
result = FMOD::System_Create(&system);
if ( result != FMOD_OK )
{
system = 0;
errStri = "failed to create FMOD::system";
return;
}

if ( system )
{
    result = system->getVersion(&version);
    if ( result != FMOD_OK )
    {
        version = 0;
        errStri = "Failed to get version";
        return;
    }

    if (version < FMOD_VERSION)
    {
        errStri = "Wrong version";
        version = 0;
    }

    result = system->init( 32, FMOD_INIT_NORMAL, 0 );

[/code:2zrkbpil]

The problem is: the string
[code:2zrkbpil]result = system->init( 32, FMOD_INIT_NORMAL, 0 );[/code:2zrkbpil] never returns value, so my thread is freezed.

FMOD version is: [code:2zrkbpil]#define FMOD_VERSION 0x00040623
[/code:2zrkbpil].

  • You must to post comments
0
0

First thing I would do is try 4.08, next is not to put fmod code in different threads. This is already mentioned explicitly in several places. Let me know what you find.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.