0
0

Hi,

i currently testing FMod 3.61 with Delphi 5 Prof. But i cannot compile it, all i get are the errormessages that THandle (fmod.pas, line 99) and PSingle (fmod.pas, line 240) are undefined.

What can i do?

thanx for help

Frank

  • You must to post comments
0
0

Hi Brett,

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?

Greetings

Frank

  • You must to post comments
0
0

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.

  • You must to post comments
0
0

Hi Sly,

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
    error occurs.
  • 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
    of “MSWINDOWS”.

Greetings
Frank

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.