I am a beginning programmer. I learned how to use C++ quite well in a college CompSci class, but all work was done in the command window. Basic stuff.
Now I’m trying to learn to use APIs to expand my ability with graphical and audio programming, and this is the first one I’m using, and I’m using it to make a simple alarm clock.
But I have NO IDEA how to work with an API. I downloaded FMOD Ex, and then I added #include "fmod.hpp" into my program (I’m using Visual Express 2010 in Windows Vista) but it underlines it red and doesn’t recognize it. Are there other things you have to be doing? I’ve already tried reading through the "getting started with windows" documentation that’s included, but it didn’t help me. I need very explicit assistance, because I’ve never used an API before and won’t know most terms. Like one site said to "link the dll in the additional dependencies setting". WTF? Way too vague for my level of knowledge.
- Aerovistae asked 8 years ago
It sounds like you are looking in the Windows Start menu at the contents of the program group. Instead, navigate to the following location (which might be a little different depending on your country of origin):
C:\Program Files\FMOD SoundSystem\FMOD Programmers API Win32
You should see directories with examples in C/C++, C#, and VB.
Where can I find the sample applications? Inside the FMOD folder, all I see is:
FMOD Event System – Best Practices For Programmers
FMOD Programmers API documentation
FMOD SoundBank Generator
Getting started with FMOD for Windows
FMOD comes with sample applications, which already include their own working VS solution files. You can start with one of those and look at how the FMOD DLL is linked into the project (examine the project properties dialog). You will also need to make sure that the "search path" for your include files appends the location of the FMOD include files.
Please login first to submit.