I’ve been trying all day to get this to work, tried varius examples and read alot about fixes and such.
I can compile the programs without errors, but when I try to play a sound I get a "NullReferanceException was unhandled"
I used the expample at: http://wiki.truevision3d.com/tutorialsa … troduction
I have allso tried to get some of the examples that came with FMOD to work as well, without any luck.
I’m using Windows 7 RC 64bit – Microsoft Visual C# 2008 Express Ediditon and newest FMODex Programers API per today (4.24.07) 32bit.
- Crinos asked 9 years ago
It sounds like you’re building for the ‘any cpu’ platform. On 32-bit systems this will make a your app 32-bit on a 64-bit system this will make you app 64-bit.
[quote:1lbneg3q]64-bit system, on should ofcourse use the fmodex64.dll file[/quote:1lbneg3q]
If you’re doing 64-bit software development. You can still develop and run 32-bit software in a 64-bit environment.
The link you gave in your original post was from the Truvision3D wiki, last time I checked there is no 64-bit version of TV3D. To get both working on a 64-bit system, use the fmodex.dll and change the platform from ‘any cpu’ to x86. The platform can be changed via the configuration manager.
Hope this helps,
- Guest answered 9 years ago
To reply myself…
I managed to get it working tonight, all though on my laptop and not my desktop…
My laptop is running Vista SP1 32bit – Microsoft Visual C# 2008 Express Ediditon and newest FMODex Programers API per today (4.24.07) 32bit.
My thoghts are then…
Is it because I’m using a 64-bit OS… or
Is it because I’m using Windows Release Candidate?
Or perhaps a combination of them both?
Editing on myself here…
Just tried my source from my laptop on my desktop, and I still get the "NullReferenceException" error when I try to play one of the sounds.
Please login first to submit.