Would someone be kind enough to provide an example of a mod player in VB using fmod.dll.
I am experiencing errors at the very start when trying to initialize FMOD.
I add the fmod.bas file and link the .dll file ok.
Problem is when I try to initialize FSOUND_Init on the Form.
I understand that after initalizing FSOUND I then use FMUSIC_LoadSong to load the module and then FMUSIC_PlaySong to play the mod.
Is the correct ?
I only have a Form with two command buttons Stop/Play to start with to learn.
An example would be great
- coral asked 15 years ago
What do you mean you link the dll file?? You should only need to add fmod.bas to your project and put the dll either in the project folder or your system directory.
Heres some code that will play a mod for you:
Dim Module as long
Module = FMUSIC_LoadSong("file.mod")
- Paranoid_Android answered 15 years ago
Please login first to submit.