0
0

Given all that needs to be done, I suspect the VB declarations/examples are low on the priority list. I did try to get started the other day, but failed in every attempt to properly declare or call functions (I’m not sure which). I’m not familiar enough with the orginal code format to derive some preliminary VB code.

For instance, it appears that most (maybe all) functions now return a user-defined type, instead of TRUE/FALSE or pointer/handle (as is the case with version 3.x). Did I at least get this right?

Regardless, I would like to ask if someone could post just a few VB declarations to help me get started. Maybe the essential functions used to initialize and setup the system, and then one or two functions used to open/access media.

From there, I think I can figure out what needs to be done in general.

Many thanks,

  • SD
  • You must to post comments
0
0

Well, a working up-to-date type library is better than nothing…

However, I’d prever those declared functions as for fmod3, because it checks dll declarations not on startup (were the application itself cannot intercept), but when you’re using it. This allowes to have declaration for fmod 3.xx to 4.xx in one executable…
You try the fmod3 GetVersion to get the version info or an error occurs, so you try the fmodex GetVersion and use it’s api.

I’ve currently recoded my player and put all fmod ‘stuff’ into one module (layer), so I have only to add fmodex (fmod4) handling, or totally rewrite this small module. Flac and Musepack support are also included, and can be activated using a simple constant.

I know you’re busy with fmod itself, but I hope the vb api declaration are available a few weeks before the official fmodex (beta) release, so I can finish including fmodex in my player.

And what about PureBasic support :) ?

  • You must to post comments
0
0

I am waiting a Beta or something like that to begin the PureBasic binding.

  • You must to post comments
0
0

[quote="brett":3cui6qor]hm yeah i think we’ll try and lock the api a bit for beta, so to do that we’ll wait for the geometry API that is being worked on at the moment.. It should be available in the next few weeks. In the meantime we’ll do a few more alphas.[/quote:3cui6qor]If I can get the script you use to generate other language bindings, I can adapt it to generate a VB .BAS file and VB .TLB. I just don’t have time to manually maintain the bindings right now.

  • You must to post comments
0
0

This might help:

http://luminance.org/fmod/fmodex_6_vb.zip

It’s for alpha 6, though. I’ll let you know when I have it updated for 9… been too busy with other stuff lately.

  • You must to post comments
0
0

[quote="brett":29ukzjmd]at the moment we’re not using a script for C# because extra code had to be written, and the delphi header i’m just diffing and updating myself at the moment, the VB header will probably be done manually as well.

We’re only generating the function list in fmod.h from fmod.hpp at the moment.[/quote:29ukzjmd]I’d like to take a shot at it nonetheless, if you don’t have a problem with that.

  • You must to post comments
0
0

Janus,

Excellent! Thank you so much for the VB example and the Alpha .6 Type Library. It is precisely what I need to get started.

And please do let us know when you get caught up with the updates.

Regards,

  • SD
  • You must to post comments
0
0

That’s good news that you’re planning an offical VB interface Brett!

I hadn’t done any work on the TLB yet anyway due to other time pressures.

  • You must to post comments
0
0

Janus, have you had time to update your TLB for a more recent version of fmod ex?

  • You must to post comments
0
0

[quote="andrewboothman":1aasouk0]Janus, have you had time to update your TLB for a more recent version of fmod ex?[/quote:1aasouk0]
Sorry, my computer is busted and between that and school I’m not going to have the time anytime soon… ๐Ÿ˜•

  • You must to post comments
0
0

No matter Janus – thanks for your work so far!

What language was the TLB written in, and is the source for it available anywhere?

Is anybody else working on a TLB or VB module to allow FMOD Ex to be used in VB? Unfortunately I’m not working with VB.NET yet so I can’t use a .NET interface…

  • You must to post comments
0
0

Sorry to bang on about this, but I just wanted to ask again if anyone else is developing a VB interface that is tracking the latest releases of FMOD Ex?

I guess it’s not possible to develop a .bas interface as with FMOD 3 as FMOD Ex is more object-oriented. So I wondered if there was another TLB or ActiveX-style DLL in development?

Thanks! ๐Ÿ˜€

  • You must to post comments
0
0

Brett,

The last version of Janus’ TLB was for FMod Ex alpha 6. I want to try and update it for alpha 13 – and I guess the best way to find out what changes have occured in the API would be for me to diff the *.h files.

Unfortunately I don’t have a copy of the alpha 6 zip anymore, and it doesn’t appear to still be available from your site either. Is there any way I could get a copy of the old alpha 6 headers?

Please contact me via email or PM on this forum if you don’t want to make it available for general download again.

Thanks! :)

  • You must to post comments
0
0

Will do, thanks!

  • You must to post comments
Showing 13 results
Your Answer

Please first to submit.