I am trying to use FMOD library in a console application Visual c++ project....
But I can't really get it to work
I will tell u exactly what i did...
First, I added the following files to the project folder: fmod.h , fmod.dll, fmod_errors.h , fmoddyn.h , fmodvc.lib , wincompat.h
And also in external dependencies, I added fmodvc.lib....
Then, in my C++ source file i wrote #include "fmod.h"
(and I tried also to include the other header files)
I have found many tutorials and they all state that we have to start with the following two lines
handle=FMUSIC_LoadSong("SongName");
FMUSIC_PlaySong(handle);
but an error shows up saying that "handle" is undeclared.... I tried to declare it myself,the error goes away, but this doesnt work too... and all other functions depend on handle, did I forget something??? And of course I put the sound file inside the project folder and wrote its name correctly as a parameter....
Please help me with that ...
and note that the reason for not using the library linking thing is that i will send the project to other people who don't have FMOD :D
Thanks in advance !!!!