Icon in RC file

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
serge_girard
Posts: 3258
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Icon in RC file

Post by serge_girard »

Hello,

I have some strange behaviour. In my RC file I have this:

Code: Select all

FAVICON    ICON    OPTIOS.ICO 
In my folder the ICON is from a previous project and I can't get the ICO right. When I make a copy the ICON is OK.
It's a small app to load data into database and there is no FORM.
In order to run I made a shortcut on my desktop. I attached manually the right ICON.

What is going on, someone has an idea or tip?

Serge
Attachments
opt.png
opt.png (38.88 KiB) Viewed 218 times
There's nothing you can do that can't be done...
Pcmodula
Posts: 36
Joined: Thu Nov 22, 2012 6:00 pm

Re: Icon in RC file

Post by Pcmodula »

Good morning Serge, your problem seems to be caused by the operating system, basically the icon cache goes crazy or is corrupted, in fact you just need to move the executable to another folder and magically the icon is correct.
On the Internet you can find some solutions but it is not always said that you can solve it with the simple cleaning of the cache.
Good luck!

PcModula.
User avatar
serge_girard
Posts: 3258
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Icon in RC file

Post by serge_girard »

Thanks PcModula,

You may be right. This morning I cold-started my PC and the ICON now is correct!

Serge
There's nothing you can do that can't be done...
Post Reply