Converion from delphi to Lazarus lazarus / 7-LCL ---------------------------------------------------------------------- vini7 · 2007-10-31 14:00 Hi I am getting following error while converting (porting) delphi code to Lazarus code. 1) error: identifier not found "GetTickCount" error:Identifier not found"TSpinButton" How to resolve these errors??? Please help..javascript:emoticon(':cry:') Regards Vini7 ---------------------------------------------------------------------- antonio · 2007-10-31 15:09 GetTickCount is a Windows API call. You can use Time functions instead. TSpinButton AFAIK is not a Lazarus component. ---------------------------------------------------------------------- windy · 2007-10-31 18:16 delete the tspin reference in the uses clause...lazarus does have a spin control...but its named differently from the delphi one (from memory when I had the same problem) ---------------------------------------------------------------------- Phil · 2007-10-31 19:38 Quote from: "vini7"Hi I am getting following error while converting (porting) delphi code to Lazarus code. 1) error: identifier not found "GetTickCount" error:Identifier not found"TSpinButton" How to resolve these errors??? Please help..javascript:emoticon(':cry:') Regards Vini7 Include the Lazarus LclIntf unit - it includes GetTickCount. The Lazarus LCL includes a control called TSpinEdit, but no component with the same name as Delphi's TSpinButton. If you want to be able to compile your code with both Delphi and Lazarus, consider replacing the TSpinButton control with the Orpheus TOvcSpinner control, which is available for both Delphi and Lazarus: http://wiki.lazarus.freepascal.org/OrphPort Thanks. -Phil ---------------------------------------------------------------------- windy · 2007-10-31 23:02 ops, I thought he had meant tspinedit  (under samples in delphi) my fault LclIntf unit  I added myself after seeing that mentioned elsewhere...good call there too! I think I will go back under where I came from ,LOL ---------------------------------------------------------------------- vini7 · 2007-11-01 09:31 Thanks to all Phil, as u suggested I downloaded and install Orpheus.And added TOvcSpinner control.so removed error of undefined  identifier TSpinButton. How to include Include the Lazarus LclIntf unit .Please chk syntax what I have done: uses  LCLIntf, Is it correct way of including unit??? As I am not getting error..but just want to confirm it. Thanks & Regards Vini7 ---------------------------------------------------------------------- Marc · 2007-11-01 10:10 yes, that correct ---------------------------------------------------------------------- vini7 · 2007-11-01 12:11 thanks  and hi to all can u please see my next queries in PORTED FROM DELPHI/KYLIX session in forum. Please chk it out that one also... Regards vini7