Res2Exe strips out program icon

  • Thread starter Thread starter Nathan
  • Start date Start date
N

Nathan

For a year or more, it has been apparently well known that Res2exe strips
out the program icon when marking a CF 1 app as HiRes aware.

To my knowledge, there has never been any workaround or fix known.

Is there any utility like Res2PutIconBackInExe.exe?

Nathan
 
Haven't specifically tried these, but here are 2 possible solutions...

1) Recompile your app using Visual Studio 2005 - the new compilers remove
the need for the res2exe tool so your icon will be safe

2) Create 2 executables. The 2nd one has your custom icon and when
launched, does nothing except launch the main executable. Then the
shortcuts you create on the Start menu, etc can point to this 2nd
executable.
 
This is a good idea.

For the first one though, I thought I saw a compatibility matrix that
implied once I compiled the App with VS 2005 (which I don't have yet) it
would stop working on 2002. I don't have the reference to that matrix right
off hand.

The second one sounds interesting. Is there a shortcut (.lnk) type file
defined for Pocket PC like there is for a shortcut on the desktop.

Nathan
 
Back
Top