Page 1 of 1

URGENT: Problem after upgrading to 8-07

Posted: Thu Apr 22, 2010 12:50 pm
by 10553159
I upgraded from 8.05 to 8.07 and on building my application I have

[DCC Fatal Error] form.pas(309): F1026 File not found: 'GIFImage.dcu'

Could you please provide a solution?

Thanks.

Re: URGENT: Problem after upgrading to 8-07

Posted: Thu Apr 22, 2010 1:01 pm
by 10553159
I have WIndows Vista (unfortunately) and Delphi 2009 Professional.

Re: URGENT: Problem after upgrading to 8-07

Posted: Thu Apr 22, 2010 1:26 pm
by narcis
Hi Brace,

That should be GIFimg.dcu which is at C:\Program Files\CodeGear\RAD Studio\6.0\lib. Does changing unit name or adding that folder to application's search path help?

Re: URGENT: Problem after upgrading to 8-07

Posted: Fri Apr 23, 2010 7:19 am
by 10553159
The problem is that in my applicatino in the uses clause I have

uses GIFImage

not

uses GIFimg

So I found GIFImage in a backup machine where I still had 8.05.

So which is the correct one: GIFImg or GIFImage?

SHould I delete GIFImage and change the uses clause to GIFImg?

Anyway This happened during 8.05 to 8.07 upgrade, I am 100% sure.

Re: URGENT: Problem after upgrading to 8-07

Posted: Fri Apr 23, 2010 2:24 pm
by narcis
Hi Brace,

Did this occur in a unit of your own or in a TeeChart sources unit? GIFImg is the correct unit since it's the one included with Delphi 2009 but it's GIFImage in older Delphi versions. Does using GIFImg instead of GIFImage works fine at your end? Did you upgraded this application from an older Delphi version? You may use a conditional compiler directive (IFDEF) to identify if your project is build using Delphi 2009 or an older version, for example:

Code: Select all

     {$IFDEF D105}
     GIFImg,    // <-- New (2007) GIFImage unit, included in Delphi2007 and up.
     {$ELSE}
     GIFImage,  // <-- "old" GIFImage unit 
     {$ENDIF}
Hope this helps!

Re: URGENT: Problem after upgrading to 8-07

Posted: Fri Apr 23, 2010 4:02 pm
by 10553159
yes GIFImage works fine, anyway I will use GIFImg as you suggest. Yes the applciation was originally in Delphi 7 and I upgraded to 2009 last year. Last year I also upgraded to TeeChart 8.

Anyway I will replace all my uses clauses.