07-23-2012 10:13 AM
Thanks for all the suggestions.
Being that this is an application that will only be used internally, we have decided to live with the ungraceful exit.
The solution for now is to simply include in the user instructions to click the close button on the error message box.
We believe that the problem is something to do with XP SP3 as the program works and exits perfectly on SP2.
If anyone has further comments or suggestions, I will check back periodically for a time to see if anyone knows what to do.
THANKS!!
Chris
07-26-2012 01:16 PM
I have now discovered that the problem has something to do with custom icons. The icon shortcut on my desktop looks as it should and opens the program as it should.
I am using a 32x32 x32bit icon.
If I use the default LV icon, no problem.
Must be an interaction with XP SP3 as this does not happen in SP2.
I have repeated the problem in a second program with a different custom icon.
Regards,
Chris
07-26-2012 06:03 PM
Hmmm, that's interesting.
I use custom icons in just about all of my LabVIEW compiled exes.
It used to work perfectly in LabVIEW 2009, but since I upgraded to 2011 I've seen a number of problems.
The behavior seems to change depending on what program you use to generate the icon but it never works completely.
I've used GIMP, a program called IcoFX and the new icon editor built into the LabVIEW application builder to generate the icons. Depending on which one I use to save the icon file they come out slightly different judging by file size and how they appear in the application builder.
In all cases I include a complete icon set from 16x16 1bit all the way to 256x256 32bit and I have even tried subsets, excluding the larger icons.
I can not get the icon to appear in the compiled application (at the top right) with any combination. The exe icon however appears on the desktop and in explorer fine.
Something is definitely broken! Perhaps a new thread with a more accurate subject title will attract more attention to this problem.