Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
numerous TBitmap errors
#2
[quote pid='4685' dateline='1575293764']
So the order of declarations matters.

I have
uses
Classes, SysUtils, Vcl.Graphics, Vcl.Controls, IWAppForm, IWApplication, IWColor,
  IWTypes, IWCompButton, IWCompRadioButton, IWCompExtCtrls,  IWVCLBaseControl,
  IWBaseControl, IWBaseHTMLControl, IWControl, IWCompEdit, IWHTMLControls;

and it has turned out that
Winapi.Windows, //for TRGBTriple and scanline
FMX.graphics, //for TBitmap;
has to be put at the beggining of the "uses" part, and now it all works only pretty slowly, comparing with the desktop app with the same code.

[/quote]
Reply


Messages In This Thread
numerous TBitmap errors - by MrSpock - 12-02-2019, 01:36 PM
RE: numerous TBitmap errors - by MrSpock - 12-02-2019, 09:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)