Dotfuscator Questions

T

Tom Bean

I am using Dotfuscator Community Edition to obfuscate an application for
Pocket PC written in C#. When I made the first pass with Dotfuscator, the
app threw a MissingManifestResourceException. Of course, since the app has
been obfuscated, the only information I got about what caused the error
pointed to resource aq.

The Dotfuscator listing window had WARNINGs about all the forms in my app,
so I excluded them on the 'Rename' tab and reran Dotfuscator. This time the
app came up and ran on the Pocket PC, however, I noticed some custom
controls did not behave correctly. I continued to exclude controls and
methods in the controls until I got the app to run on a device running
Pocket PC 2002. When I tried the app on a device running Pocket PC 2003,
more of the custom controls exhibited problems, so I began the process of
excluding controls and methods again.

The decisions about what to exclude is very hit-and-miss but I am
speculating that to solve the problems, all event handler methods, like
OnPaint(), need to be excluded. Is that correct?

Is there any documentation available about how to decide what to exclude so
Dotfuscator does not break your application?

Thanks,
Tom
 
T

Tian Min Huang

Hi Tom,

Thanks for your post. I will ask one who expertise on this issue to look at
and reply this thread.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
E

Eric Newton

Perhaps don't bother with dotfuscator? In my opinion, obfuscation is a
silly contention that many people use "because their code is like no-other"
and it's a farse. The obfuscation techniques lead to code that is still
readable but much more difficult to diagnose and debug for the component
designer.

Fact is, when I see obfuscated controls in an Exception stack walk, I as a
fellow developer cannot even begin to try to help you the component designer
to track down why I got the exception.
 
S

Scot Rose [MSFT]

Hi Tom,

You need to direct this post to the microsoft.public.dotnet.framework.compactframework newsgroup since this is a compact framework
issue and there may be a larger pool of respondants in that newsgroup who may have had and resolved similar issues.


Scot Rose, MCSD
Microsoft Visual Basic Developer Support
Email : (e-mail address removed) <Remove word online. from address>

This posting is provided “AS IS”, with no warranties, and confers no rights.

Get Secure!
http://www.microsoft.com/security
http://www.microsoft.com/protect


--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top