I am making a multi thread application in Win api, so I need to make the sound system variables global. But when I put the variables
in front of the WInMain function, I get a host of error messages. While if I use them as static local variables, they work fine. I get the error messages
error C2365: ‘system’ : redefinition; previous definition was ‘function’,
‘function’ : ‘FMOD_SYSTEM *’ differs in levels of indirection from ‘int (__cdecl *)(const char *)’ and
FMOD_System_PlaySound’ : different types for formal and actual parameter 1
Could anybody help me with this?
- Varun asked 4 years ago
- You must login to post comments