0
0

Hi everyone,

I got a new computer some time ago and wanted to start making programs using the fmodex library.

[code:1peyh6vd]Fresult = FMOD.Factory.System_Create(ref Fsystem);[/code:1peyh6vd]

Each time I execute this the program crashes and gives me this error message: "FMOD error: ERR_FILE_BAD-Error loading file."
This happens with all of my applications and even the examples that came with the API.

The fun thing is: All these programs worked for me when using my old computer with "Windows XP x86" but they don’t work on my new computer with "Windows 7 x64".

Does anybody know whats wrong there?

  • You must to post comments
0
0

If you get a file error at the system_create level – is it possible the fmod dll is missing? Not sure about x64 C# but I would assume it was ok with the 32bit version of fmod, try making it use the 64bit version instead.
There is this

if WIN64

    public const string dll    = "fmodex64";

else

    public const string dll    = "fmodex";

endif

Is your WIN64 preprocessor symbol defined?

  • You must to post comments
0
0

[img:1ufkz6fo]http://dl.dropbox.com/u/28573353/Bilder/ScreenShot%20015%20examples_csharp%20-%20Microsoft%20Visual%20C%23%202008%20Express%20Edition.png[/img:1ufkz6fo]

Well it looks like this :/

So how can I get a x64 version of the fmod dll? Should I just rename the "fmodex.dll"?
Rebuilding the C# wrapper didn’t helped either…

EDIT: Okay I just tried to use the x64 build of fmodex, still get this stupid error :/

  • You must to post comments
0
0

Just because your OS is 64 bit doesnt mean your apps are automatically 64bit, they are going to be 32bit by default. The #if WIN64 proves that for me thanks, so your app is 32bit and is looking for the standard fmodex.dll. You can forget about the 64bit version of FMOD for now.

Not that I can help so far with this particular issue, it was just good to make sure that wasnt the issue.
It sounds like your dll is missing or bad. Have you tried reinstalling fmod and seeing if your dll is different or not. We’ll look into it here and see if this has come up before. Its the weekend so we’ll check for you on monday.

  • You must to post comments
0
0

Sorry that I didn’t reply on monday…

So I got the latest stable API for windows and tried it again … with no success :/

Should I try the development builds, too?

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.