0
0

Hi,

i’d like to set the debugLogFilename in FMOD_ADVANCEDSETTINGS, but it seems i made some mistakes.
Indeed, i don’t find the log file after the execution of my program . I put the code that changes the logfilename.

[code:3a45j2x2]
FMOD_ADVANCEDSETTINGS vSettings ;
memset( &vSettings, 0, sizeof(FMOD_ADVANCEDSETTINGS)) ;
vSettings.cbsize = sizeof(FMOD_ADVANCEDSETTINGS) ;

System()->getAdvancedSettings( &vSettings ) ;
vSettings.debugLogFilename = "../fmod.log" ;
System()->setAdvancedSettings( &vSettings ) ;
[/code:3a45j2x2]

It’s probably stupid but i don’t find the problem

Thanks,

gothmog

  • You must to post comments
0
0

This might seem basic, but why not try putting in an explicit path? If you run this it will most likely put the file in a path relative to the path that your currently in (or relative to where your IDE is running), instead of where your application is.

  • George
  • You must to post comments
0
0

try getting rid of the ‘get’, you dont need it.

  • You must to post comments
0
0

hi,

thanks for the answers. I delete the ‘get’ and put an explicit path, but the problem was somewhere else.
I was using fmodex_vc.lib instead of fmodexL_vc.lib 😳 . I feel shameful.

Now it works well, but every time i launch my application, fmod writes the new debug informations at the end
of the old ones in the log file without clear it. Have I forgot to use an option in fmod, or is it our job to clear the
log file when we launch the application ?

thanks,

gothmog

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.