[Solved] Compiler uses wrong icon
-
IdeasVacuum
- Always Here

- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
[Solved] Compiler uses wrong icon
Under Compiler Options you can check "Use Icon" and enter a path to an icon. That works fine - unless you are also including a resource file, in which case, if the .rc lists icons, the first icon in the list is used instead. 
Last edited by IdeasVacuum on Fri Aug 17, 2012 1:35 pm, edited 1 time in total.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Compiler uses wrong icon
Icon resource ID 1 is reserved for the program icon
Start your rc file with 2
Even you can add icon as 1 for the program in the rc file and do not use the compiler option
Start your rc file with 2
Even you can add icon as 1 for the program in the rc file and do not use the compiler option
Egypt my love
-
IdeasVacuum
- Always Here

- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Compiler uses wrong icon
Hi Rashad - yeah, I know and I have, but I think the compiler option should be taking precedence over the resource file.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Compiler uses wrong icon
We can't as we also use a resource file. Using an external resource file is an advanced feature, so you have to know some subtilities as this one 
Re: Compiler uses wrong icon
hi ideas,
if you use a resource file, use the compiler options too. if not, in the task manager is shown a standard icon.
testet Win7/64
if you use a resource file, use the compiler options too. if not, in the task manager is shown a standard icon.
testet Win7/64
sorry for my bad english
-
IdeasVacuum
- Always Here

- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Compiler uses wrong icon
Ah well Fred, no worries then
Josh, thanks for that tip.
Josh, thanks for that tip.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Compiler uses wrong icon
I have this problem with the latest version of Japbe ... without using resources 
and you ?
and you ?
-
IdeasVacuum
- Always Here

- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Compiler uses wrong icon
Hi dobro. I think that could simply be a Japbe issue. You can put that to the test by using the PB IDE. How do you create your icons? Do you know for sure that they are not corrupt in any way?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: [Solved] Compiler uses wrong icon
yes , exactly ....I think that could simply be a Japbe issue
Hi, I use IcoFX and GFIE ..
and these icons work, with the official editor and with EPB (my editor) ... (on compiling a prg to 8000 lines)
it's just with Japbe,(v 3.12.8.872) that it does not work ..
(and I'm not talking about delays of Japbe, due to 8000 lines..
was due to updates of variables, Bookmarks, etc. .. has each copy and paste )
and I only program, with copy and paste....
I thought IdeasVacuum can be used Japbe
-
IdeasVacuum
- Always Here

- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: [Solved] Compiler uses wrong icon
No doubt Gnozal will be able to work out what the problem with Japbe is then. I code in different languages and so I use UltraEdit to write code and then the IDE of each language to debug/compile.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.




