I am trying to create a delphi module for FModEx.
I have had success integrating the sounds and channels but am having problems using DSP functions.
If I use the GetNumberPlugins functions I get the following results
0 DSP Plugins
0 Codec Plugins
9 Output Plugins
Every DSP relate function returns a FMOD_ERR_PLUGIN_RESOURCE result.
Any assistance would be appreciated.
- PJde asked 6 years ago
are you using fmodex.dll?
Use api/fmodex.dll to use FMOD Ex with all plugins statically compiled into the DLL. This means you can use all the features of FMOD without needing extra plugins accompanying your application. The DLL is bigger because of this.
Use api/fmodexp.dll to use FMOD Ex with plugins external. This DLL needs plugins to function, which you can find in the plugins directory. Plugins in the plugins/ directory need to be used to support all of FMOD Ex’s features. Use this if you want a smaller distribution and only need one file format support for example (ie .WAV). The DLL is smaller because of this.
- icuurd12b42 answered 6 years ago
I have tried all 3 dlls without success. Tried copying the dlls into my current project directory again without success.
My FModex.dll is 394,240 bytes is size.
I am dynamically loading the dll as follows :-
aStr := ‘FModEx.dll’;
if FileExists (aStr) then // local version
FLibPath := aStr
with TRegistry.Create do // find installed directory
RootKey := HKEY_LOCAL_MACHINE;
if OpenKey (‘Software\FMOD Programmers API Win32’, false) then
if ValueExists (‘Install_Dir’) then
FLibPath := ReadString (‘Install_Dir’);
if length (FLibPath) > 0 then
FLibPath := FLibPath + ‘\api\’ + aStr;
if (length (FLibPath) > 0) and FileExists (FLibPath) then
FLibHandle := LoadLibrary (PChar (FLibPath));
if FLibHandle > 32 then
DebugStr (‘Loading Library "’ + FLibPath + ‘"…’);
// System initialisation / destruction functions.
@FSystemCreate := MapProc (‘FMOD_System_Create’);
@FSystemRelease := MapProc (‘FMOD_System_Release’);
Please login first to submit.