Hi All,
I am trying to port ACS 2.2 component [1] and I am not able to install it. See errors_installing.txt. I am using Linux Ubuntu 10.04.
[1] http://www.mtu-net.ru/aborovsky/acs/downloads.htm
Note that I basically want to do something like:
uses
ACS_Classes;
var
user_wants_sounds : boolean;
ACSOutput1 : TACSOutput;
Tone, Msec : integer;
[...]
if user_wants_sounds then
begin
ACSOutput1 := TACSOutput.create( self );
try
// generate Tone Sound frequency (Hertz) for Msec milliseconds
// how do I do this ???
ACSOutput1.Run;
finally
ACSOutput1.Destroy;
end;
end;
Best Regards,
Peter E Williams
Hobart, Tasmania, Australia
Proudly developing Quality Cross Platform Open Source Games
Since 1970 with a Commodore PET 4016 with 16 KRAM
http://pews-freeware-games.org (<--- brand new)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ACS_Classes.pas
Type: text/x-pascal
Size: 16901 bytes
Desc: not available
URL: <
http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100904/c301a8e6/attachment.bin>
-------------- next part --------------
/home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(188,15) Note: Virtual method "TACSFileIn.Reset;" has a lower visibility (protected) than parent class TACSInput (public)
/home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(237,25) Error: function header doesn't match any method of this class "constructor TACSInput.Create;"
/home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(82,17) Hint: Found declaration: constructor TACSInput.Create(TComponent);
/home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(239,28) Error: Identifier not found "AOwner"
/home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(278,26) Error: function header doesn't match any method of this class "constructor TACSOutput.Create;"
/home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(124,17) Hint: Found declaration: constructor TACSOutput.Create(TComponent);
/home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(280,28) Error: Identifier not found "AOwner"
/home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(282,37) Error: Wrong number of parameters specified for call to "DoOutput"
/home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(116,14) Hint: Found declaration: TACSOutput.DoOutput(Boolean):Boolean;
/home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(283,27) Error: Incompatible types: got "untyped" expected "<procedure variable type of procedure of object;Register>"
/home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(285,52) Error: Wrong number of parameters specified for call to "HandleThreadException"
/home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(122,15) Hint: Found declaration: TACSOutput.HandleThreadException(Exception);
/home/pewink/Public/My_code/Lazarus_source/pewink/acs22/Src/Common/ACS_Classes.pas(336,32) Fatal: Syntax error, ":" expected but ";" found