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

Martin Schreiber fpmse at bluewin.ch
Sat Jan 7 19:34:02 CET 2006


On Saturday 07 January 2006 18.43, Hans MÃ¥rtensson wrote:
> I have downloaded the 2.1.1 snapshot and compiled my testprogram with
> it, and the problem is still there: no dialog box showes up.
>

Your testcase worked for me with FPC 2.0.2 and the modified DLGTEMPLATE and 
DLGITEMTEMPLATE.

> Then, by help of the windows function GetLastError, I have found out
> that windows in my program after call to
>   DialogBoxIndirect(0,pBox2, Window, @Box2Proc)
> returns LastError 1812, meaning "resource not found".

This is the same error as you get with FPC 2.0.2 and the unmodified records.

Martin



More information about the fpc-pascal mailing list