I believe I read all documents more than once.
I am an old delphi developer.so I believe that should be more easy to port a simple VCL into lazarus.
I tried converters...changed many file names that was in uses section.
renamed some Message functiong result types. etc.
but couldnt achive to convert a simple VCL into lazarus.
let have a look for a simple VCL named corelbutton at:
http://www.torry.net/pages.php?id=77or
http://www.delphi.int.ru/download/file/9/I gave 2 days. but couldnt convert it.
I just wantto know. if lazarus is really enough compatible ?
I saw ipro and synedit components ported to lazarus but many components seems removed. because of incompatiblity ?
corelbutton.pas is a very simple VCL. that should be took converting should be take 1-2 minutes. but I lost 2 days.
can someone tell step by step howto convert corelbutton.pas into lazarus ?
I created an empty lazarus component package (lpk) and put corelbutton into it. it gave many errors. I fixed many lines corretctly.
but okay I said
"I lost.I wont attempt to convert too much time"
finally I removed the last error line
DrawItem(Msg.DrawItemStruct)^;
and finally package compiled. but I pressed install" button.
and voila
another problem
"CorelButton.pas(74,12) Fatal: Can't find unit CorelButton used by Package1"
can someone convert it ?
its not a really need VCL. but it was my second attempt.again I couldnt achieved.
I would like to see where I am wrong really. by comparing both VCL and LCL files to see where I am wrong.
instead of referring some general document links to read more and more
can some one help ?please.
thanks in advice