Recent

Author Topic: Rxnew exception  (Read 1072 times)

tester-dev

  • New member
  • *
  • Posts: 9
Rxnew exception
« on: August 18, 2019, 04:46:19 pm »
when i add rxnew lib i get that error immediately.

...exception in file .\include\lclintf.inc  line 182

the line points to :

Code: Pascal  [Select][+][-]
  1. function RawImage_QueryDescription(AFlags: TRawImageQueryFlags; var ADesc: TRawImageDescription): Boolean;
  2. begin
  3.   Result := WidgetSet.RawImage_QueryDescription(AFlags, ADesc);
  4. end;
%)
« Last Edit: August 19, 2019, 02:17:46 pm by tester-dev »

tester-dev

  • New member
  • *
  • Posts: 9
Re: Rxnew exception
« Reply #1 on: August 18, 2019, 04:49:38 pm »
i am using :
Code: Pascal  [Select][+][-]
  1. uses
  2.   Classes, SysUtils, db, sqldb, Forms, Controls, Dialogs, ComCtrls,
  3.   StdCtrls, Menus, DBCtrls, EditBtn, ExtCtrls, Buttons, DBExtCtrls,
  4.   ExtendedNotebook,  kgrids, kedits, SpkToolbar,
  5.   spkt_Tab, spkt_Pane, spkt_Buttons, LCLType, DBGrids,
  6.    JvDBLookup, RLBarcode, IBLookupComboEditBox,
  7.   jdblabeledcurrencyedit,Laz2_DOM;


it seems like there is a conflict.
thank you for your support.
« Last Edit: August 19, 2019, 02:18:19 pm by tester-dev »

wp

  • Hero Member
  • *****
  • Posts: 11853
Re: Rxnew excet
« Reply #2 on: August 18, 2019, 06:44:29 pm »
This is very little information to reproduce the error. I did this:
  • Use Online-Package-Manager to install package rxnew (it required rxtools, too).
  • create a new project. Add package rxnew as a requirement.
  • Add rxnew to the uses clauses of unit1.
  • Compile and run --> no problem --> I cannot reproduce your issue
Such errors happen sometimes when all your units are not up-to-date and the compiler fails to recompile everything correctly. In this case I go to "Tools" > "Configure 'Build Lazarus'", in the "Clean up" box check "clean all" and "Switch after building to automatically". Then click "Build" and confirm to rebuild the IDE. After some time the IDE re-starts and everything should be up-to-date.

tester-dev

  • New member
  • *
  • Posts: 9
Re: Rxnew exception
« Reply #3 on: August 19, 2019, 10:16:08 am »
ok. i did that but i am still getting the same error.
i want to use rxdblookupcombo to show two fields at the same time( first and second names).
 If i use  rxdblookupcombo on a new project i don't get the error  and that's why i suspect that there is a conflict with other libraries .

rxnew is fully installed and   ( ExtendedNotebook,  kgrids, kedits, SpkToolbar,
  spkt_Tab, spkt_Pane, spkt_Buttons,  DBGrids,
   JvDBLookup, RLBarcode, IBLookupComboEditBox,
  jdblabeledcurrencyedit,Laz2_DOM ) they are all new as well.

« Last Edit: August 19, 2019, 02:18:02 pm by tester-dev »

 

TinyPortal © 2005-2018