thanx for your answer, i have found that i can remove the ifdef-Section in the fmod.pas and then i can compile it.
But now i get a strange error: After Linking, when Delphi tries to start the (or any other fmod-) application, i get the message “the procedure-entrypoint FSOUND_Stream_Close was not found in the DLL “fmod.dll” (translated). It says that Delphi cannot find the procedure in the DLL ((??????)).
I only have one version of the fmod.dll in the application’s directory. It is from 01/05/2003 and there is no other fmod.dll on my system.
So, what can i do?
- Fbrust answered 15 years ago
I’m not sure what would cause the failure to find FSOUND_Stream_Close. That’s a strange one. DOes this also happen with the precompiled versions? What about the precompiled C samples?
What was the define that you removed from fmod.pas? Was it the MSWINDOWS define around the ‘uses’ clause? Maybe Delphi 5 does not define MSWINDOWS along with WIN32? The MSWINDOWS define is used to allow Kylix compatibility and the Borland documentation states that MSWINDOWS should be used in preference over WIN32. It seems that some previous versions may not have MSWINDOWS defined.
thanx for your answer.
- the precompiled versions doesn’t run (same error). The compiling and
linking works, but if i (or delphi) try to run a program, the described
i dont have a c-compiler
the define i removed was “ifdef mswindows…” for the compiling under
MS Windows OR Linux. The currently line was so, that only fmod.dll was
defined. It seems that Delphi 5 doesn’t define a “MSWINDOWS”-
Variable. But i will try it with the complete define and “WIN32” instead
- Anonymous answered 15 years ago
Please login first to submit.