[fpc-pascal] Problem with FPC2.0.2 and windows

Martin Schreiber fpmse at bluewin.ch
Fri Jan 6 19:12:38 CET 2006


On Friday 06 January 2006 12.32, Jonas Maebe wrote:
> I hope someone else can take it over from here, because I don't have
> Windows (or even a computer which can run Windows).

The problem is in rtl/win32/wininc/struct.inc, the smallint's were integer's:

    DLGTEMPLATE = packed record //from rtl/win32/wininc/struct.inc
          style : DWORD;
          dwExtendedStyle : DWORD;
          cdit : WORD;
          x : smallint; //integer;
          y : smallint; //integer;
          cx : smallint; //integer;
          cy : smallint; //integer;
       end;

     pdlgtemplate = ^dlgtemplate;
     DLGITEMTEMPLATE = packed record
          style : DWORD;
          dwExtendedStyle : DWORD;
          x : smallint; //integer;
          y : smallint; //integer;
          cx : smallint; //integer;
          cy : smallint; //integer;
          id : WORD;
       end;	

Who makes the bug report?

Martin



More information about the fpc-pascal mailing list