>I've build an Icon file for my vfp 5.0 app. I used imagedit to create it. It's an 16 color 32x32 with an 16 color 16x16 icon file. Then in the project manager i included the icon file. When the application was tested on other machines, the app crashed on several places at random interval (never the same place, never the same time). causing a GPF in module GDI.EXE.
>
>After removing the icon from the project file, the problem disappears. When replacing the icon the problem reappears again, so i'm verry certain the icon file is the couse of the problem.
>
>In general i can live with a fox as the .exe icon. I couldn't find any entries in the UT nor in the MSDN libs, so i'm posting this for future use and to see if anyone had the same problem.
>
>KR,
Hi Wim,
I'd say something else might be going on here. This is because icons are resources and not executable code. So it's dubious that the icon itself is the problem. However, to be sure that the file hasn't somehow been corrupted, I'd first re-create it, then attach the new icon to the project and re-build.
George
Ubi caritas et amor, deus ibi est