[Lazarus] Mantis #18448. Changes to win32object.inc, +procedure TWin32WidgetSet.AppInit(var ScreenInfo: TScreenInfo);

Michael Van Canneyt michael at freepascal.org
Sun Jan 9 12:11:23 CET 2011




On Sun, 9 Jan 2011, Peter Williams wrote:

>
> Hi Lazarus list,
> I am proposing some changes to +procedure TWin32WidgetSet.AppInit(var ScreenInfo: TScreenInfo); in win32object.inc.
>
> These are changes to enable exception error handling which *should* be reported in file 'AppInit_backtrace.txt'. This was suggested as a general hint by someone else on this list. 
>
> Refer to win32object.inc.diff (attached to #18448)
>
> This issue is now reported as:
>
> http://mantis.freepascal.org/view.php?id=18448

I looked at the patch, and I suggested some changes. 
I think these changes should be implemented prior to applying the patch. 
As it is now, the patch is very likely to cause serious problems in case of an exception.

Michael.


More information about the Lazarus mailing list