knowledge-database (beta)

Current group: jrsoftware.toolbar2000

TB2 and Delphi 2005

TB2 and Delphi 2005  
Vladimir Bochkarev
 Re: TB2 and Delphi 2005  
Jordan Russell
 Re: TB2 and Delphi 2005  
Vladimir Bochkarev
From:Vladimir Bochkarev
Subject:TB2 and Delphi 2005
Date:Sun, 19 Dec 2004 23:20:51 +0300
Hi Jordan,

Delphi 2005 speaks:

[Hint] TB2Toolbar.pas(1298): H2443 Inline function 'PointToSmallPoint' has not
been expanded because unit 'Types' is not specified in USES list
[Hint] TB2Toolbar.pas(1309): H2443 Inline function 'PointToSmallPoint' has not
been expanded because unit 'Types' is not specified in USES list
[Hint] TB2Toolbar.pas(1360): H2443 Inline function 'SmallPointToPoint' has not
been expanded because unit 'Types' is not specified in USES list
[Hint] TB2Toolbar.pas(1362): H2443 Inline function 'PointToSmallPoint' has not
been expanded because unit 'Types' is not specified in USES list

P.S. My impressions: Delphi 2005 - the heavy monster, but after removal of all
..Net, C#, and welcome page, cleanings of the registry, load and works quickly as
Delphi7. But vanishes Refactoring :-(

Good luck.
--
Vladimir Bochkarev.
From:Jordan Russell
Subject:Re: TB2 and Delphi 2005
Date:Sun, 19 Dec 2004 15:56:32 -0600
"Vladimir Bochkarev" wrote in message
news:cq4nvl$irc$1@news.jrsoftware.org...
> Delphi 2005 speaks:
>
> [Hint] TB2Toolbar.pas(1298): H2443 Inline function 'PointToSmallPoint' has
not
> been expanded because unit 'Types' is not specified in USES list
> [Hint] TB2Toolbar.pas(1309): H2443 Inline function 'PointToSmallPoint' has
not
> been expanded because unit 'Types' is not specified in USES list
> [Hint] TB2Toolbar.pas(1360): H2443 Inline function 'SmallPointToPoint' has
not
> been expanded because unit 'Types' is not specified in USES list
> [Hint] TB2Toolbar.pas(1362): H2443 Inline function 'PointToSmallPoint' has
not
> been expanded because unit 'Types' is not specified in USES list

Ah, I didn't catch this during my testing. For some reason, these hints
don't show up when the packages are compiled, nor do they show up in other
units that use the same functions (???).

Anyway, "fixing" this is as simple as adding Types to the front of the
"uses" clause.

> P.S. My impressions: Delphi 2005 - the heavy monster, but after removal of
all
> .Net, C#, and welcome page, cleanings of the registry, load and works
quickly as
> Delphi7. But vanishes Refactoring :-(

Yes, others are having the same problem. Please vote for QC 9586.

--
Jordan Russell
From:Vladimir Bochkarev
Subject:Re: TB2 and Delphi 2005
Date:Mon, 20 Dec 2004 06:02:16 +0300
Hi Jordan,

[Skipped]

JR> Ah, I didn't catch this during my testing. For some reason, these hints
JR> don't show up when the packages are compiled, nor do they show up in other
JR> units that use the same functions (???).

I added in the beginning of the unit (in which the main form of
application is located) "{$INLINE AUTO}".
(TB2 source folder placed in the search path)
After that they have appeared.

JR> Anyway, "fixing" this is as simple as adding Types to the front of the
JR> "uses" clause.

I added into TB2Ver.ini {$IF RTLVersion >= 17.0} {$DEFINE JR_D9} {$IFEND},
and in unit {$IFDEF JR_D9...

JR> Yes, others are having the same problem. Please vote for QC 9586.

Has not understood how to vote.
Me ask how much I want to give voices? Like I not one :-)

Good luck.
--
Vladimir Bochkarev.
   

Copyright © 2006 knowledge-database   -   All rights reserved