Home » Questions » Problem with the compilation of fmod.pas
I have problems with the compilation of the fmod.pas and also of fmoddyn.pas. Delphi says that THandle and PSingle are undefined. I haven’t found the problem yet, so can you help me please?
which Delphi Version do you use?
I have the same problem with Delpi 5 Professional.
I think, its the windows-unit, included at the uses-section of the fmod.pas.
Maybe it can only compiled under Delphi 7?
THandle and PSingle are in the Delphi 6 and 7 versions of Windows.pas. To enable you to compile, add these lines to fmodtypes.pas
THandle = Cardinal;
PSingle = ^Single;
I also use Delphi 5 Professional. Where can I get the windows.pas of Delphi 6 or 7 from?
Oh sorry, I misunderstood your answer.
Please login first to submit.
Copyright 2016 FIRELIGHT TECHNOLOGIES PTY LTD. All RIGHTS RESERVED.