Page 1 of 1

[Solved] Compiler uses wrong icon

Posted: Fri Aug 17, 2012 2:13 am
by IdeasVacuum
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. :(

Re: Compiler uses wrong icon

Posted: Fri Aug 17, 2012 3:22 am
by RASHAD
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

Re: Compiler uses wrong icon

Posted: Fri Aug 17, 2012 5:50 am
by IdeasVacuum
Hi Rashad - yeah, I know and I have, but I think the compiler option should be taking precedence over the resource file.

Re: Compiler uses wrong icon

Posted: Fri Aug 17, 2012 9:39 am
by Fred
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

Posted: Fri Aug 17, 2012 10:35 am
by Josh
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

Re: Compiler uses wrong icon

Posted: Fri Aug 17, 2012 1:19 pm
by IdeasVacuum
Ah well Fred, no worries then :)

Josh, thanks for that tip.

Re: Compiler uses wrong icon

Posted: Fri Aug 17, 2012 1:19 pm
by dobro
I have this problem with the latest version of Japbe ... without using resources ;)

and you ?

Re: Compiler uses wrong icon

Posted: Fri Aug 17, 2012 1:34 pm
by IdeasVacuum
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?

Re: [Solved] Compiler uses wrong icon

Posted: Fri Aug 17, 2012 2:31 pm
by dobro
I think that could simply be a Japbe issue
yes , exactly ....

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

Re: [Solved] Compiler uses wrong icon

Posted: Fri Aug 17, 2012 3:12 pm
by IdeasVacuum
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.