Lazarus

Programming => Packages and Libraries => Topic started by: tester-dev on August 18, 2019, 04:46:19 pm

Title: Rxnew exception
Post by: tester-dev 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;
%)
Title: Re: Rxnew exception
Post by: tester-dev 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.
Title: Re: Rxnew excet
Post by: wp on August 18, 2019, 06:44:29 pm
This is very little information to reproduce the error. I did this:
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.
Title: Re: Rxnew exception
Post by: tester-dev 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.