Can I add an icon represented by file.ico into a new exe file when compiling? I want that the icon be a part of the exe file, i.e. when I associate an icon to this exe file, I can see the icon. (L)
You can add an icon with option "Add icon" on Basic4PPC or change dynamicly an Form icon with FormEX.dll [Desktop only] (I'm not sure if it's this Lib)...
If you want associate an extension with your program icon you can do this on the registry in the HKCR (ROOT) Folder [Device & Desktop]...
I mean this. If you look at the screenshot, you can see several "blank" icons the represent .exe files, for example clock.exe
However, 2 programs (Camera.exe and Communication Manager.exe) have their own icons.
So I will compile a basicfile.exe and I want that it has its own icon of mine, i.e. from my_icon.ico file. It will look somehow similar to those 2 programs.
Hope, it is more understandable now.
I give my EXE files an icon because I use "Launcher" in my Today screen to show me my favourite applications. And the icon also shows up when I list the EXE file in TotalCommander as in your example.
But I do find that sometimes the icon does not "take" and I have to do a soft reset of the device before it is correct. This may be when I have changed the idon.
Note that icons are cached on the device. So if you create a new file with the name of an existing file but with a different icon you will need to soft reset the device to see the changes.