Basic Hex Dump - you can normally easily see the resource structure and the
included resource names.

D4.03 C/S

When I ran the resource explorer on the exe is showed your bitmaps under the
bitmap resource and the Icon I loaded under the Icon resource - Name
MAINICON - 32 * 32.

Yep had to re-compile the resource explorer with range checking turned off
on the compile options - then could look at the exe data/resources okay.



> -----Original Message-----
> From: Chris Crowe [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, September 08, 1999 1:14 PM
> To:   Multiple recipients of list Delphi
> Subject:      RE: [DUG]:  ** HUGE RES File problem **
> 
> What does the hex dump utility show me?, will it just be "a hex dump" or
> can
> it show you icons and bitmaps? If it doe show bitmaps/icons then I would
> be
> very interested to have a look.
> 
> Interesting about the icon you got, I wonder why I get a different icon?.
> What version of delphi did you use to test it on?, and what Delphi Patch?
> 
> Chris
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Myles Penlington
> Sent: Wednesday, September 08, 1999 12:51 PM
> To: Multiple recipients of list Delphi
> Subject: RE: [DUG]: ** HUGE RES File problem **
> 
> 
> I've got a hex dump utility to examine files - an off take of the resource
> explorer if you need to have a look.
> 
> As to the other - I got the correct and expected Icon - not the delphi
> icon.
> 
> Myles.
> 
> > -----Original Message-----
> > From:       Chris Crowe [SMTP:[EMAIL PROTECTED]]
> > Sent:       Wednesday, September 08, 1999 11:10 AM
> > To: Multiple recipients of list Delphi
> > Subject:    RE: [DUG]:  ** HUGE RES File problem **
> >
> > I just created a new resoource file, with nothing in it. It gets saved
> as
> > 32
> > bytes.
> >
> > The resource file which is BAD was over 2.5K originally with 5 bitmaps
> in
> > it, after deleting all the bitmaps inside the .res file and then save
> the
> > file; it is 808 bytes.
> >
> > So there is something in there, but what?
> >
> > Chris
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Chris Crowe
> > Sent: Wednesday, September 08, 1999 10:31 AM
> > To: Multiple recipients of list Delphi
> > Subject: RE: [DUG]: ** HUGE RES File problem **
> >
> >
> > 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
> >
> >
> --------------------------------------------------------------------------
> > -
> >     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
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to