I am creating a command line application with system tray icon,
myapp -showtray shows the tray application. but when i call mypp -hidetray then the tray is not removed.
I am using TTrayIcon class.
mytray.show - works. but mytray.hide fails.
I was bit on a wrong track, everything is working fine now. So closing this thread.
Lazarus 1.0.4 (FPC) 2.6.0 on Windows 7(x86) 32bit