Felipe Monteiro de Carvalho wrote:
On Feb 11, 2008 3:56 PM, Lee Jenkins <[EMAIL PROTECTED]> wrote:
M:\lazarus\projects\maestro>m:\lazarus\IDE\fpc\2.2.0\bin\i386-win32\windres -i M
:\lazarus\projects\maestro\tray.rc -o m:\lazarus\projects\maestro\tray.res
gcc: installation problem, cannot exec `cpp': No such file or directory
m:\lazarus\IDE\fpc\2.2.0\bin\i386-win32\windres: no resources

windres complains it can't find "cpp", which means that your path is
wrong, otherwise he would have found it.

before executing the line above fix the path:

PATH=m:\lazarus\IDE\fpc\2.2.0\bin\i386-win32\

The .res file needs to be generate with windres, you can't use another
tool AFAIK.


Thanks Felipe,

I added the lazarus bin folder to my path as you suggested and that allowed me to create the .res file. However, the icon still will not show up in the task bar. I traced through the code and it is getting called (tried both TrayIcon.Show and TrayIcon.Visible := true), but is not showing up in task bar.

FWIW, I use XN Resource Editor to create my main form icon to show in windows and that seems to work fine (as does windres for creating the resource) so I wonder if its anything to to do with using windres or not ??

Thanks again,

--
Warm Regards,

Lee

"Everything I needed to learn in life, I learned selling encyclopedias door to door."

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to