View Issue Details

IDProjectCategoryView StatusLast Update
0034850FPCRTLpublic2019-01-11 15:01
ReporternanobitAssigned ToMarco van de Voort 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformwin32OSWindowsOS Version10
Product Version3.0.4Product Build 
Target VersionFixed in Version3.3.1 
Summary0034850: EMRPOLYLINE16 declaration
Descriptionstruct.inc (of windows.pp) contains declaration bugs:

EMRPOLYLINE16 = record
  emr : EMR;
  rclBounds : RECTL;
  cpts : DWORD;
  apts : array[0..0] of POINTL; // should be POINTS
end;
thus all aliases (EMRPOLYBEZIER16, EMRPOLYGON16, ...) behave wrongly too.

Other bugs:

EMREXTCREATEFONTINDIRECTW = record
  emr : EMR;
  ihFont : DWORD;
  elfw : EXTLOGFONT; // should be EXTLOGFONTW
end;

PEMRMODIFYWORLDTRANSFORM = EMRMODIFYWORLDTRANSFORM; should be: PEMRMODIFYWORLDTRANSFORM = ^EMRMODIFYWORLDTRANSFORM;

PEMRCREATEDIBPATTERNBRUSHPT = EMRCREATEDIBPATTERNBRUSHPT; should be: PEMRCREATEDIBPATTERNBRUSHPT = ^EMRCREATEDIBPATTERNBRUSHPT;
TagsNo tags attached.
Fixed in Revision 40842
FPCOldBugId
FPCTarget
Attached Files

Activities

Marco van de Voort

2019-01-11 15:01

manager   ~0113327

Thank you, corrected

Issue History

Date Modified Username Field Change
2019-01-11 14:45 nanobit New Issue
2019-01-11 15:01 Marco van de Voort Fixed in Revision => 40842
2019-01-11 15:01 Marco van de Voort Note Added: 0113327
2019-01-11 15:01 Marco van de Voort Status new => resolved
2019-01-11 15:01 Marco van de Voort Fixed in Version => 3.3.1
2019-01-11 15:01 Marco van de Voort Resolution open => fixed
2019-01-11 15:01 Marco van de Voort Assigned To => Marco van de Voort