Einzelnen Beitrag anzeigen

Benutzerbild von mirage228
mirage228

Registriert seit: 23. Mär 2003
Ort: Münster
3.750 Beiträge
 
Delphi 2010 Professional
 
#13

Re: TBX für Toolbar2000 unter D2006

  Alt 13. Feb 2006, 14:12
Hallo,

habe gerade diesen Post in der jrsoftware.toolbar2000.thirdparty newsgroup gefunden (vom 17.12.2005):
Zitat:
Hi,

there is a small bug in TBX.pas which might cause trange 204 or 216
runtime errors then the program is terminated. This is caused by an
invalid object reference in variable TBXNexus when the unit TBX.pas in
finalized before the program's Application object.

To fix this please add a "if TBXNexus <> nil then" the following
functions in TBX.pas:

procedure AddThemeNotification(AObject: TObject);
procedure RemoveThemeNotification(AObject: TObject);
procedure TBXSetTheme(const AThemeName: string);
function TBXCurrentTheme: string;

In the finalization section please change the line "TBXNexus.Free;" to
"FreeAndNil(TBXNexus);".

Best wishes,
Carsten Schuette
Link zur Newsgroup:
news://news.jrsoftware.org/jrsoftwar...000.thirdparty

Ich hoffe, das hilft weiter.

mfG
mirage228
David F.

May the source be with you, stranger.
PHP Inspection Unit (Delphi-Unit zum Analysieren von PHP Code)
  Mit Zitat antworten Zitat