Recent

Author Topic: convert Sebran delphi(4) code to lazarus  (Read 102246 times)

Leledumbo

  • Hero Member
  • *****
  • Posts: 8747
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: convert Sebran delphi(4) code to lazarus
« Reply #105 on: March 10, 2009, 05:39:36 am »
Quote
Is there any workaround for this message ?
  • Use Tools->Convert dfm to lfm. When prompted, remove that missing property.
  • Open the project with the form opened (just open the corresponding unit, lazarus will automatically load the form), make a trivial change (a simple moving form is enough), and save.
  • Recompile and you're done.

von_ks

  • Jr. Member
  • **
  • Posts: 57
Re: convert Sebran delphi(4) code to lazarus
« Reply #106 on: March 10, 2009, 10:51:45 am »


I have converted dfm to lfm , and at promt I have removed missing property. I have made also trivial changes and saved project and packeges and compiled it again.
It shows me now new messeges.
/
Read error
Stream=TfrmHuvudmeny:Root=:TfrmHuvudmeny
Class "TMediaPlayer" not found
stream position 14978
/
Read error
in file D:\Temp\sebran\Delphi4\HMENY.lfm
Class "TMediaPlayer" not found
/
did I some mistake ?
What should I do now ?

Leledumbo

  • Hero Member
  • *****
  • Posts: 8747
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: convert Sebran delphi(4) code to lazarus
« Reply #107 on: March 10, 2009, 11:36:49 am »
Same thing plus some notes: AFAIK all things in form definition must be installed in the IDE. Therefore, if the TMediaPlayer is not installed, you can't use it like other components (in other words, you need to create it at runtime).

von_ks

  • Jr. Member
  • **
  • Posts: 57
Re: convert Sebran delphi(4) code to lazarus
« Reply #108 on: April 07, 2009, 09:29:20 am »


If somebody would like to try porting by himself/herself
please write to me. so I will send all files I have.

 

TinyPortal © 2005-2018