Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Icon causes GPF (GDI.EXE) in VFP 5
Message
From
09/02/2000 08:28:44
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00329306
Message ID:
00329347
Views:
26
>>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.

Hmm, well, i've seen that vfp 6 wouldn't start with an icon with 256 colors attached hence my idea that the icon could be the problem in VFP5.

But i'm 1 day before a deadline so i'll won't dare to test at this point :-)

I'll will try this some other time (again since i've rebuild the icon several times but i'll try some other iconbuilder).

Thnx, WD
---
Life is like a box of chocolates
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform