PDA

View Full Version : Application icon disappears with EL 4.5.7+


Nathan Sutcliffe
19-Oct-2007, 04:37 PM
This is a really weird bug and I'm just wondering if anyone has seen anything like it. We recently added a new bitmap resource to an application (via $R directive) which caused the application's main icon to disappear. There's still an icon in the exe, it's just a white square. Weird. As far as I can tell, the bitmap we added is no different from any of the several other bitmaps in our app.

The machine performing the build has EurekaLog 4.6.7, but I noticed that when I compiled the same app on my development machine, the proper icon was included. After much investigation, I discovered that I had a different version of EurekaLog on my machine: 4.6.1. When I downgraded the build machine to 4.6.1, the icon came back!

My boss just bought EurekaLog 6.0.8 and it has the same problem.

We're running Delphi 7 without the update pack.

I can work around this problem by removing this bitmap from the app (it's not really needed in this app) but I'd really like to get to the bottom of this defect because it makes me nervous.

Nathan Sutcliffe
19-Oct-2007, 05:01 PM
Just to clarify, I had the wrong version in the subject. It's 4.6.7. BTW, I don't have any of the versions after 4.6.1 and before 4.6.7 to test.

admin
22-Oct-2007, 08:20 AM
Hi,

this is usually a .RES or .DCR files corruption problem.

Can you check if someone of this files is corrupted, please?

Nathan Sutcliffe
22-Oct-2007, 03:07 PM
I had already tried opening and saving the new .res file in a couple different editors with no luck.

I just tried recreating the file from scratch and it seems to have fixed the problem. Thanks! Wow, that was a weird one...

admin
23-Oct-2007, 08:13 AM
Hi,

ehehehe. :)