0
0

The current FMOD is targeted towards C++ although many of us are using VB.

Will there be better support for VB, ie callbacks using events ? Especially for detecting end of sound.

David

  • You must to post comments
0
0

You can already use callbacks using AddressOf.

  • You must to post comments
0
0

AddressOf does not work with private modules, ie classes.

So it’s virtually useless

  • You must to post comments
0
0

As far as I know, you can’t have callbacks call back class functions in c++ either, so there’s no difference there. You’ll have to add a public function that calls the specific class’s callback I think.

  • You must to post comments
0
0

The AddressOf function in VB only work with global modules.

So when I make a class to take care of the FMOD functionality, the AddressOf cannot be used. And we have to use classes to do some good programming.

Many libraries for VB/C++ use events, so that an event will be triggered and handled. Like for example MouseOver event…

I’m not very familiar with C++, and you not with VB6 😀

  • You must to post comments
0
0

[quote="ddebono":2a9ed289]The AddressOf function in VB only work with global modules.

So when I make a class to take care of the FMOD functionality, the AddressOf cannot be used. And we have to use classes to do some good programming.

Many libraries for VB/C++ use events, so that an event will be triggered and handled. Like for example MouseOver event…

I’m not very familiar with C++, and you not with VB6 :D[/quote:2a9ed289]You can use the get/setuserdata functionality to tie classes to sounds and channels, just like people do in C++. Like brett said, you can’t tie fmod callbacks to classes in ANY language, so this isn’t a VB specific issue.

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.