No it is not using any runtime packages, and it is failing on me by just
including the .RES file nothing else.

I have re-created the .RES file from scratch and the problem has gone away.
So what is wrong with the original .RES file?

How can one determine the fault? I know it is the .RES file, but why?

This problem first showed itself about 2 years ago, and I only just found
out why, so I would like to know why!

I have deleted all the entries from the BAD .RES file, so there are no
bitmaps or icons or anything when I load it up but it still causes the
problem when that particular res file is used in a project.

Chris

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Dennis Chuah
Sent: Wednesday, September 08, 1999 9:52 AM
To: Multiple recipients of list Delphi
Subject: RE: [DUG]: ** HUGE RES File problem **



Chris,

Are you using packages in your EXE?  More specifically, is your form in a
package?  If it is, chances are that it will pick up the default Delphi
icon, stored in one of the referenced packages.

Regards,
Dennis.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Chris Crowe
> Sent: Tuesday, 7 September 1999 16:20
> To: Multiple recipients of list Delphi
> Subject: [DUG]: ** HUGE RES File problem **
>
>
> Hi all,
>
>   I have a rather WEIRD problem that I have tracked down to a
> .RES file.
>
>   If any of you have a couple of minutes to try this I would
> appreciate it
> as it does fail for me and I would like to know what it does for you.
>
>   1) Download the .RES file in question from (it is 2.5KB)
>
>      http://www.adrock.com/Delphi/Problems/Res/addatetm.res
>
>   2) Load up Delphi 2 or 3 or 4 or 5
>   3) Create a New Application
>   4) Change the Projects ICON, under
> Project-Options-Application, click the
> Load ICon and load ANY icon that you have. DO NOT USE THE DOWNLOADED
> VERSION.
>   5) Now goto Form1, and in the code you will see some lines like this
>
>      var
>        Form1: TForm1;
>
>       implementation
>
>       {$R *.DFM}
>
>   6) Add another line below the {$R *.DFM} line and add {$R
> ADDATETM.RES} so
> that you end up with
>
>      var
>        Form1: TForm1;
>
>       implementation
>
>       {$R *.DFM}
>       {$R ADDATETM.RES}
>
>   7) Save the project somewhere
>   8) Copy the downloaded ADDATETM.RES file to the project
> directory and run
> it.
>
>   When the MainForm loads do you get the Delphi default
> project icon (I
> think it is from D2 or D3) or do you get the Icon that you
> used at step 4?
>
>   9) If it does show you the wrong icon then change the line {$R
> ADDATETM.RES} to
>
>      { $ R ADDATETM.RES}
>
>      This will comment it out, and then run it again.
>
>   Looking at the .RES File with Image Editor, and Microsoft
> Visual C++ there
> are 5 Bitmap contained in there.
>
>   TADROCKDATETIMEEDIT_BITMAP
>   TADROCKDATETIMEEDIT_ARROW_BITMAP
>   TADROCKDATETIMEEDIT_1ARROW95_BITMAP
>   TADROCKDATETIMEEDIT_DATE_BITMAP
>   TADROCKDATETIMEEDIT_ARROW95_BITMAP
>
>   Can anyone explain to me what is going on here?, those
> bitmaps do not
> contain a copy of the Delphi (2 or 3) defualt project icon,
> so where is it
> coming from?
>
>   Thanks for your time, and please let me know the results.
>
>   Chris
>
> --------------------------------------------------------------
> -------------
>     New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to