problem with upx

kenshiro55 kenshiro55 at users.sourceforge.net
Fri Aug 1 08:48:24 PDT 2008


Frank Benoit Wrote:

> kenshiro55 schrieb:
> > kenshiro55 Wrote:
> > 
> >> After the compression of ControlExample with upx: - icons are not
> >> displayed on tabs: Button, CoolBar, Table, ToolBar, Tree - but
> >> icons are displayed on tabs: ExpandBar, Label, Menu.
> >> 
> >> It was working before the fix of these bugs: 
> >> http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.dwt&article_id=1414
> >>  
> >> http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.dwt&article_id=1415
> >> 
> >> 
> >> 
> >> Env: dmd 1.0.33, tango 0.99.7, Windows DWT 3.4 1
> > 
> > I did some tests and it think it's another manifest problem. If I
> > compile without dwt.res (remove the line buildflags+= -L/rc:..\dwt in
> > dsss.conf), the exe compressed with upx seems ok in console mode.
> > 
> > But then I found another problem. If I compile in gui mode without
> > dwt.res, I can start the application from the console but not from
> > the explorer.
> 
> I don't know UPX well. Perhaps it is bug in UPX?
> Wikipedia has a list of alternatives:
> http://en.wikipedia.org/wiki/Executable_compression
> ASPack was used in the past for poseidon, i think.


I found the problem. 
If I replace this line  2 24 "dwt.exe.manifest"
           by this line  1 24 "dwt.exe.manifest"
in my dwt.rc and recompile, the upx version is ok.





More information about the Digitalmars-d-dwt mailing list