Recent

Author Topic: myapp build in Suse 11.1 wont work in suse 11.3  (Read 3602 times)

fretty1

  • New Member
  • *
  • Posts: 14
myapp build in Suse 11.1 wont work in suse 11.3
« on: November 27, 2010, 10:38:50 pm »
Hello

I have build an application in Lazarus containing a database (tdbf)  and 5 forms. It works fine in OpenSuse 11.1 but after an upgrade to 11.3 (lazarus 9.28.2) I got an error on opening of 2 forms.
All the forms are connected to the database.
The error I get trying to open a form is Acces Violation.
Trying to open the source with Lazarus in 11.3 I cannot open the 2 forms at all.
In suse 11.1 the source opens fine.(lazarus 9.28.0)

(both laptop and PC react the same on this issue)

just found that:
The 2 components that are only present on both forms is a filelistbox
I cannot open the forms,  can I remove those components another way?


frits
« Last Edit: November 28, 2010, 02:06:25 pm by fretty1 »

DirkS

  • Sr. Member
  • ****
  • Posts: 251
Re: myapp build in Suse 11.1 wont work in suse 11.3
« Reply #1 on: November 28, 2010, 06:26:14 pm »
Quote
The 2 components that are only present on both forms is a filelistbox
I cannot open the forms,  can I remove those components another way?
Open the .lfm file as text in the editor and remove the object manually. Look for something like
Code: [Select]
  object FileListBox1: TFileListBox
    Left = 183
    Height = 80
    Top = 38
    Width = 100
    Directory = 'C:\dev\lazarus_trunk'
    ItemHeight = 13
    TabOrder = 1
  end
in the file. Remove all the lines from 'object' up to the next 'end'.

You also have to remove (or comment out ) the related code in the unit itself otherwise it will not compile.

Don't forget to make a backup of the project before you do this!

Gr.
Dirk.


fretty1

  • New Member
  • *
  • Posts: 14
Re: myapp build in Suse 11.1 wont work in suse 11.3
« Reply #2 on: November 28, 2010, 07:07:14 pm »
thanks
I did that. but just found out that not only my app  is not working properly but Lazarus itself has a problem with suse 11.3
Ill make it another topic.

 

TinyPortal © 2005-2018