I need to save the FONT properties of objects before changing them,
so tried the following:
var
OldFont : TFont;
Begin
OldFont.Name := '';
or
oldfont := TheImage.Canvas.Font
The compiler accepts the code, but when it executes, the following
error occurs:
" project xxx raised exception class external 'error SIGSEGV'"
The problem doesn't appear to happen if OldFont is a LOCAL variable, only when I try to make it a GLOBAL variable.
I'm using the Windows 64 version.
Any suggestions appreciated.