1. Adding an Icon with euc
- Posted by euphoric (admin) Oct 07, 2009
- 1179 views
I checked the docs for euc and didn't see a commandline parameter for adding a custom icon. Is there a way right now?
2. Re: Adding an Icon with euc
- Posted by jeremy (admin) Oct 08, 2009
- 1183 views
There should be something internal to do this, however, no it's not there right now. To do it, however:
C:\myproject> wrc -q -ad myproj.rc myproj.exe C:\myproject> type myproj.rc 1 24 "myproj.manifest" C:\myproject> type myproj.manifest <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="0.64.1.0" processorArchitecture="x86" name="IupApp" type="win32" /> <description>My Project</description> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly> </dependency> </assembly>
That does not assign an icon, but shows how to link in any type of resource. You should be able to find how to add an icon to the resource file. Most of the above is to enable XP style widgets.
Jeremy