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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal