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

Nope, I've successfully built a 256 color icon into my latest application in VFP 6 SP3 and are having no problems with users starting it. There might be a problem in earlier versions, however. I can't test this because I don't have access. If a problem in earlier versions did/does exist in might be related to VFP improperly identifying the resource in the header.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform