0
0

Any suggestions or tutorials?

I’ve done some searching on my own and I haven’t found much so far.

I tried adding the dlls that come with the 64 bit version (64 bit vista here) and it claimed they were invalid dlls.

  • You must to post comments
0
0

There is no C# API for the 64-bit version of FMOD, but you can still use the 32bit version on 64bit systems. There are C# examples included with the sdk in the examples_csharp directory.

-Pete

  • You must to post comments
0
0

[quote="PeterStirling":n3utbv1y]There is no C# API for the 64-bit version of FMOD, but you can still use the 32bit version on 64bit systems. There are C# examples included with the sdk in the examples_csharp directory.

-Pete[/quote:n3utbv1y]

Each time I try to run any of the projects in the C# directory, I get this:

[quote:n3utbv1y]
************** Exception Text **************
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at FMOD.Factory.FMOD_System_Create(IntPtr& system)
at FMOD.Factory.System_Create(System& system) in C:\Program Files (x86)\FMOD SoundSystem\FMOD Programmers API Win32\examples_csharp\vs2005\virtualvoices\fmod.cs:line 1691
at virtualvoices.VirtualVoices.VirtualVoices_Load(Object sender, EventArgs e) in C:\Program Files (x86)\FMOD SoundSystem\FMOD Programmers API Win32\examples_csharp\vs2005\virtualvoices\virtualvoices.cs:line 122
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll

virtualvoices
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0

CodeBase: file:///C:/Program%20Files%20(x86)/FMOD%20SoundSystem/FMOD%20Programmers%20API%20Win32/examples_csharp/vs2005/virtualvoices/bin/Debug/virtualvoices.exe

System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

[/quote:n3utbv1y]

  • You must to post comments
0
0

Joining in. Every time I try to build program in c#, even with the fmodex.dll included and all paths are specified, it stops at
[code:nlciw7ak]result = FMOD_System_Create(ref systemraw);[/code:nlciw7ak]
in the fmod.cs file. The error gives:

[code:nlciw7ak]An unhandled exception of type ‘System.DllNotFoundException’ occurred in Kave.exe
Additional information: Can’t load DLL "fmodex": Can’t found specified module. (Exception from HRESULT: 0x8007007E)[/code:nlciw7ak]

The additional info in Russian, so translation can differ.
I’m using MSVS08, Vista SP1 32-bit.

  • You must to post comments
0
0

I solved my issue last night and I’m reporting in.

To use the examples I had to compile the application as a x86 platform (32bit) app. It’s in the Build options for the project.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.