It worked perfectly fine in the Debug and Release versions.
I wanted to include sound in my program. I decided to use FMOD as my sound library, and I don't know much about it. I figured out how to use it and it works perfectly in Release mode, the sound works correctly and everything, but in Debug mode it doesn't even compile... Which is weird because you'd think it would be backwards and it would work in Debug but not Release.
I keep getting Unresolved External Symbol errors in Debug Mode, all related to FMOD functions. I would think that maybe I didn't have the FMOD libraries linked correctly, but it works in Release Mode, so obviously I do have them linked correctly...
It's such a weird backwards error, why would it not work in Debug but work fine in Release?
Here are my specific errors:
1>Game.obj : error LNK2019: unresolved external symbol _FSOUND_Sample_Load@16 referenced in function "bool __cdecl GameInitialize(struct HWND__ *)" (?GameInitialize@@YA_NPAUHWND__@@@Z)
1>Game.obj : error LNK2019: unresolved external symbol _FSOUND_Init@12 referenced in function "bool __cdecl GameInitialize(struct HWND__ *)" (?GameInitialize@@YA_NPAUHWND__@@@Z)
1>Game.obj : error LNK2019: unresolved external symbol _FSOUND_Close@0 referenced in function "void __cdecl GameEnd(struct HWND__ *)" (?GameEnd@@YAXPAUHWND__@@@Z)
1>Game.obj : error LNK2019: unresolved external symbol _FSOUND_Sample_Free@4 referenced in function "void __cdecl GameEnd(struct HWND__ *)" (?GameEnd@@YAXPAUHWND__@@@Z)
1>Game.obj : error LNK2019: unresolved external symbol _FSOUND_PlaySound@8 referenced in function "void __cdecl CheckInput(struct HWND__ *,bool,int,int)" (?CheckInput@@YAXPAUHWND__@@_NHH@Z)
1>C:\Documents and Settings\Human\Desktop\My Programming Projects\Direct X Programs\Tic-Tac-Toe\Debug\Tic-Tac-Toe.exe : fatal error LNK1120: 5 unresolved externals