I added all the sizes for the icon, the icons display everywhere correctly, except the tray icon.
The Tray icon is just a generic white rectangle with the green square. Like the one in the ide on a new window in a new project.
If you are indeed talking about System tray, we are talking about the small icons on the right of the taskbar. The link to the LR explains how to do it.
Tray = New AppTrayItem
Tray.Icon = myIcon
If Not Self.AddTrayItem(Tray) Then
// There was an error adding the TrayItem
End If
A 64 bit compiled app will correctly show the tray icon with the code I posted, but indeed, the windows won’t have an icon, because 64 bit Windows builds simply do not support app icon at all.