I had a problem with 256x256 icons in .ico files not saving/showing correctly, see this question.
I seem to have solved the problem with the .ico file, but it still shows as a black square when I compile it in my Windows program (compiled with Delphi). The small icon shown in Windows Explorer details is fine, but the large icon shown with thumbnail view remains black. Any suggestions?
clarification re Martin's comment
I'm talking about the application icon, for Windows (in particular Explorer), not for use by the program itself. Windows shows the small icon (16x16 I guess) in the details, list, and small icons view, as well as in the taskbar. The 256x256 icon is shown in the extra large icon view.
BTW, I'm using Windows 7.