Bitsum Community Forum

General Category => PECompact, PESuite, PEBundle, and other developer tools => Topic started by: Jeremy Collake on July 12, 2008, 08:18:18 PM

Title: Your experiences with .NET support
Post by: Jeremy Collake on July 12, 2008, 08:18:18 PM
As you know, our .NET compression support is in beta. Its got some problems with some assemblies that I'm still working out. I fear I may have to change my approach. For executables it does work with, you should find it quite nice. I'm curious if anyone is using it, or not, and who it has worked for, and who it hasn't. Thanks to any users who give feedback.
Title: Re: Your experiences with .NET support
Post by: nibble on October 01, 2008, 07:01:40 AM
I don't have many .NET apps and did a little comparing test with interesting results.
The priority wasn't focused so much and only on the size,
just to have a valid executive file.

used Programs:
PECompact2 v2.94.1: default settings
MPRESS v1.27: default settings
NsPack v3.7: compress resources, win loader, strip reloc
----------------------------------------
PEC2 was the only one, that produced a runable file

Test candidate: FastMD5.exe
http://www.paehl.de/fastmd5_net20.zip
Fast MD5 v1.4 (c) 2005/2006 by Dirk Paehl

PEC2   - 14.359 Bytes
MPRESS - 12.615 Bytes (at runtime: error initializing .NET Framework)
Nspack - 38.400 Bytes (at runtime: Failed to load resources from resource file)
-----------------------------------------
PEC2 was the only one, that produces a non-runable file

Test candidate: AlbumArtAggregator.exe
ftp://ftp.sharewarecenter.de/downloads/AlbumArtAggregator_1_4_6.zip
Album Art Aggregator v1.4.6 by nexus

PEC2   - 117.196 Bytes (the exe is not runable anymore)
MPRESS - 126.277 Bytes
Nspack - 140.800 Bytes
Title: Re: Your experiences with .NET support
Post by: Jeremy Collake on October 01, 2008, 11:36:59 AM
Thanks for the report on this. I'm glad to see PECompact is succeeding where others fail, at least on some .NET executables ;). I will try to fix whatever the problem is with AlbumArtAggregator compression soon.
Title: Re: Your experiences with .NET support
Post by: Danielhsc on October 17, 2008, 11:37:25 AM
Hi,
  I started to use PECompact some weeks ago, and this is great!!
Very good compression and no problem with the program (still runable).

The only problem was with the VB.Net programs. I test with 5 programs and they become non-runable. Even the most simple.
All the C#.Net programs still working after the compression.

Daniel Cordeiro
Rio de Janeiro - Brazil
Title: Re: Your experiences with .NET support
Post by: Jeremy Collake on October 17, 2008, 01:31:31 PM
Thanks for the report. I'll definitely look into the issue with VB .NET apps soon.
Title: Re: Your experiences with .NET support
Post by: Danielhsc on November 18, 2008, 01:16:03 PM
I'm having the following problem.
I developed a simples Dll that is a hard lock system. And that dll gets the GUID of the program wich are using it.
After using the PECompact the program that uses the DLL, the function that returns the GUID stopped working!

If I doesn't use the hard lock system as dll (put all functions inside de program) it's works!

What could be?

>> Sorry, bad english.