[Lazarus] TextHeight in Console App

Edilson Vieira vieira.edilson at gmail.com
Tue May 14 16:27:59 CEST 2013


2013/5/14 Edilson Vieira <vieira.edilson at gmail.com>

>
> 2013/5/14 leledumbo <leledumbo_cool at yahoo.co.id>
>
>> >  'Project TextHeight raised exception "External SIGSEGV" in file
>> '.\include\lclintf.inc' at line 184.'
>>
>> What's there? It's part of lcl, so look for the file in lcl folder.
>>
>>
> function RawImage_QueryDescription(AFlags: TRawImageQueryFlags; var ADesc:
> TRawImageDescription): Boolean;
> begin
>   *Result := WidgetSet.RawImage_QueryDescription(AFlags, ADesc);*
> end;
>
> The error ocurr at this line ( Result ...).
>
> I have no idea how to solve it.
>
> thx for replying!
>
> Edilson.
>
>
The parameter values are:

AFlags = [RIQFRGB, RIQFMASK]

ADesc =

<TRAWIMAGEDESCRIPTION> = {
  FORMAT = RICFNONE,
  WIDTH = 0,
  HEIGHT = 0,
  DEPTH = 0,
  BITORDER = RIBOBITSINORDER,
  BYTEORDER = RIBOLSBFIRST,
  LINEORDER = RILOTOPTOBOTTOM,
  LINEEND = RILETIGHT,
  BITSPERPIXEL = 0,
  REDPREC = 0,
  REDSHIFT = 0,
  GREENPREC = 0,
  GREENSHIFT = 0,
  BLUEPREC = 0,
  BLUESHIFT = 0,
  ALPHAPREC = 0,
  ALPHASHIFT = 0,
  MASKBITSPERPIXEL = 0,
  MASKSHIFT = 0,
  MASKLINEEND = RILETIGHT,
  MASKBITORDER = RIBOBITSINORDER,
  PALETTECOLORCOUNT = 0,
  PALETTEBITSPERINDEX = 0,
  PALETTESHIFT = 0,
  PALETTELINEEND = RILETIGHT,
  PALETTEBITORDER = RIBOBITSINORDER,
  PALETTEBYTEORDER = RIBOLSBFIRST}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130514/fc4c7d22/attachment-0003.html>


More information about the Lazarus mailing list