Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi E2003 Undeclared identifier: 'Tnt_WideFormat' (https://www.delphipraxis.net/71594-e2003-undeclared-identifier-tnt_wideformat.html)

Amnon82 17. Jun 2006 22:42


E2003 Undeclared identifier: 'Tnt_WideFormat'
 
Liste der Anhänge anzeigen (Anzahl: 1)
Mal wieder Probleme mit den TNT Unicode Controls 2.2.5 PE (angepasste Version für D7PE/D9PE - von mir).

Ich hab mal wegen dem Problem ein kleines Test-App geschrieben (siehe Anhang).
Dieses kann ich in Delphi 7 PE ohne Probleme compilen.

In D9PE bekomme ich folgende Message:

[Error] Unit1.pas(29): E2003 Undeclared identifier: 'Tnt_WideFormat'


Komischerweise kann ich die Source von SubRip in D9PE
compilen, was mich nun zur Frage bringt:

Was läuft bei mir schief?

... Die Controls hab ich bei beiden IDEs gleich installiert und die TNT_SysUtils.pas wird ja auch gefunden,
nur die Function mag er bei meinem Test-App in D9PE NICHT machen (bei SubRip schon...).

Kann einer von Euch mir helfen?

Link: Thread im Webboard des Herstellers

Amnon82 22. Jun 2006 16:17

Re: E2003 Undeclared identifier: 'Tnt_WideFormat'
 
Hat sich erledigt. Troy, der Coder von den TNT_Controls hat mir die Lösung gesagt:

Zitat:

In TntSysUtils.pas you'll see that I don't include Tnt_WideFormat for Delphi 2005 (9) and newer. This is because you can use WideFormat safely as it has been fixed.

All the code for Tnt_WideFormat is enclosed by this:

{$IFNDEF COMPILER_9_UP}
...
{$ENDIF}

--Troy
... somit werde ich nun WideFormat hernehmen ...


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:10 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz