Recent

Author Topic: After installing component/Package Lazarus chrash!  (Read 6429 times)

pajofego

  • Guest
After installing component/Package Lazarus chrash!
« on: April 06, 2006, 10:34:31 pm »
Hi,

I've install a component from Delphi in lazarus by creating a package. The component appears after recompiling lazarus and after a new start in the lazarus component bar. After drag and drop this component into a form and editing one or two values in the object inspector, lazarus crashes!

Exists some reasons for this problems?

Thanks...

pajofego

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: After installing component/Package Lazarus chrash!
« Reply #1 on: April 06, 2006, 10:59:30 pm »
Quote from: "pajofego"

Exists some reasons for this problems?

Probably there exist a reason for this problem. Maybe it is a bug in your component.

Try running with --debug-log, see http://wiki.lazarus.freepascal.org/index.php/Lazarus_Faq#How_can_I_see_debug_output.3F
to get more information of the crash.

pajofego

  • Guest
After installing component/Package Lazarus chrash!
« Reply #2 on: April 06, 2006, 11:25:52 pm »
Hi, that's the output of the log file. I cannot find no information which could help me and you?

TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32
TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32
HINWEIS: CodeTools-Konfigurationsdatei nicht gefunden - verwende Voreinstellungen
NOTE: help options config file not found - using defaults
TMainIDE.DoLoadLFM there is no LFM file for "D:\Eigene Dateien\Lazarus\Component\NNet\NNet.pas"
TMainIDE.DoNewProject A
TMainIDE.DoCloseEditorFile A PageIndex=1
TMainIDE.DoCloseEditorFile end
TMainIDE.DoCloseEditorFile A PageIndex=0
TMainIDE.DoCloseEditorFile end
TMainIDE.DoNewEditorFile A NewFilename=
[TCustomFormEditor.CreateComponent] Class='TForm'
TMainIDE.DoNewEditorFile end unit1.pas
[TCustomFormEditor.CreateComponent] Class='TNetRCC'
Parent is 'Form1:TForm1'
TMainIDE.OnPropHookPersistentAdded A NetRCC1:TNetRCC
TPkgManager.AddUnitToProjectMainUsesSection B NNetlpk
TApplication.HandleException Range check error
  Stack trace:
  $006DAFFE  TNETACTIVATION__GETALPHA,  line 694 of NNet.pas
  $00778420  GETFLOATPROP,  line 1300 of ../objpas/typinfo.pp
  $00463775  TPROPERTYEDITOR__GETFLOATVALUEAT,  line 2065 of PropEdits.pp
  $004636FE  TPROPERTYEDITOR__GETFLOATVALUE,  line 2050 of PropEdits.pp
  $0046617E  TFLOATPROPERTYEDITOR__GETVALUE,  line 2854 of PropEdits.pp
  $0046434F  TPROPERTYEDITOR__GETVISUALVALUE,  line 2267 of PropEdits.pp
  $00465142  TPROPERTYEDITOR__PROPDRAWVALUE,  line 2557 of PropEdits.pp
  $00458190  TOICUSTOMPROPERTYGRID__PAINTROW,  line 2022 of ObjectInspector.pp
  $004586FE  TOICUSTOMPROPERTYGRID__DOPAINT,  line 2049 of ObjectInspector.pp
  $004588D7  TOICUSTOMPROPERTYGRID__PAINT,  line 2074 of ObjectInspector.pp
  $007A7FED  TCUSTOMCONTROL__PAINTWINDOW,  line 127 of ./include/customcontrol.inc
  $007B01A2  TWINCONTROL__PAINTHANDLER,  line 2891 of ./include/wincontrol.inc
  $007AB02F  TWINCONTROL__WMPAINT,  line 4586 of ./include/wincontrol.inc
  $007B2772  TCUSTOMCONTROL__WMPAINT,  line 107 of ./include/customcontrol.inc
  $0073EB1B  TOBJECT__DISPATCH,  line 431 of C:/lazarus/source/fpc/fpcbuild-2.0.2/fpcsrc/rtl/inc/objpas.inc
  $007AA0FE  TCONTROL__WNDPROC,  line 1536 of ./include/control.inc
  $007A7A2A  TWINCONTROL__WNDPROC,  line 3339 of ./include/wincontrol.inc
Note: GetTextBuf is overr

pajofego

  • Guest
After installing component/Package Lazarus chrash!
« Reply #3 on: April 07, 2006, 12:24:02 am »
May be it could be possible to send me a link, where I can find a description of how to install a delphi component in lazarus.

Thanks,

pajofego

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2584
After installing component/Package Lazarus chrash!
« Reply #4 on: April 07, 2006, 12:10:14 pm »
you cannot install binary delphi components.
It looks likeyour component raises a range error somewhere.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

pajofego

  • Guest
After installing component/Package Lazarus chrash!
« Reply #5 on: April 07, 2006, 02:45:29 pm »
Hi,

this is not a binary component of delphi. The source of the component is available. I'm not realy sure if I proceed in the right way the installation process of components in lazarus.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2584
After installing component/Package Lazarus chrash!
« Reply #6 on: April 10, 2006, 02:19:33 pm »
first you can try to see if you can use the component in code. After that, create a package for it.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018