Andrew Pollack's Blog

Technology, Family, Entertainment, Politics, and Random Noise

Visual Studio .NET -- a Thanks to Gary Devendorf -- and a RANT about "DotFuscator" from PreEmptive Solutions

By Andrew Pollack on 09/03/2005 at 12:50 PM EDT

With some excellent help from Gary Devendorf, I've released the beta version of my first stand-alone (Non Notes) workstation application in something like 15 years. Its nothing most readers of this blog would be all that interested in, as it detects activation tones from a radio scanner plugged into the mic jack on a computer ( https://www.thenorth.com/clients/nctsearch/keymaker.nsf/scannerkeyrequest ).

Visual Studio -- the full version -- is a power product. It has the best client side distribution story of any development package I've used (provided you're ok with Windows Only) and has a great set of tools. One thing I didn't even know about is "Visual J#" which is Visual Basic only with the Java language syntax. That doesn't mean its Java. Its not. It does mean that if you're used doing this like:

String myString = new String("Hello World")

you can use it instead of remembering the VB.net way which is:

Dim myString as String = "Hello World"

VB.net is much closer to Java than it is to BASIC anyway -- particularly if you use the .NET framework and write "Managed Code". It makes going back and forth easier, and lets you re-use a lot of the same logic which is very nice. You can put some of your utility functions in on module and compile it in your java compiler and in your visual studio j# compiler then use the same logic in both places. I haven't tested yet how deep the emulation goes, and how far into the java object model it works. I've read its largely compatible with the java 1.4's built in objects but I'm not sure yet.

On the downside, the documentation of the stuff they give you in the package is horrendous in the extreme. On top of that, some of the partner tools aren't great.

Now for a rant:

For example, the full package comes with "DotFuscator Community Edition" -- If you think its hard to hide the design of a Notes database, try protecting your .NET managed code. Like Java, you need to "Obfuscate" the code. This doesn't at all make it impossible to decompile -- it just makes it hard to read if you do decompile it. To do this, there are commercial products ranging from about $800 to $2500 per developer seat. Microsoft "Partnered" with one of these.

What you get is integrated into the package insofar as there is a menu option in the Tools drop down to launch it. The support on Microsoft's site consists of the help document from the application rebranded with Microsoft logos. To look for support or instructions from PreEmptive, you must register the product and be sent an obscure numeric userid and long alphanumeric password which you cannot change. After which, there is no support other than an FAQ page and a link to a YAHOO GROUPS discussion consisting of 23 documents over the course of 3 years. The most recent of these is months old. The second most recent suggest a "new" tutorial for first time users and has a link to a page which no longer exists on their website. That reference was made in 2003.

The product comes with a sample. Yep. It "DotFuscates" "hello world" which has no reflection, no managed code, no external libraries, and nothing which needs to be excluded for any reason in the "renaming" part of the obfuscation process. The user interface allows you to exclude methods or object names by check box one at a time, or using REGEX syntax hand typed -- and crashes if you make some kinds of syntax errors. The user interface as a whole is strictly amature hour.

It took me 12 hours of work to get my FULLY WORKING application which makes NO calls to unmanaged code obfuscated (minimally according to PreEmptive) without breaking.

All this, and the package constantly reminds you that this "Community" edition doesn't really obfuscate much and you really should spend a bunch of money for their real product. Hell would freeze over before I'd do that after using their built in. I'd spend half the money and get one of the much better products on the market first.


There are  - loading -  comments....

My own thoughts on this are...By Stephan H. Wissel on 09/04/2005 at 07:34 AM EDT
Hi Andrew,
I feel your pain. We had a look at the obfuscating stuff and were turned off
too. At the end we used thinstall.com. It allows for more things like virtual
Registry, Trial versions, single file, no installation deployment etc.
Unfortunatly they recently changed their licencing model and give you the tool
for free but charge 5k for every app you create AND a seat licence.
Still if you have a very valuable tool check it out.
:-) stw


Other Recent Stories...

  1. 01/26/2023Better Running VirtualBox or VMWARE Virtual Machines on Windows 10+ Forgive me, Reader, for I have sinned. I has been nearly 3 years since my last blog entry. The truth is, I haven't had much to say that was worthy of more than a basic social media post -- until today. For my current work, I was assigned a new laptop. It's a real powerhouse machine with 14 processor cores and 64 gigs of ram. It should be perfect for running my development environment in a virtual machine, but it wasn't. VirtualBox was barely starting, and no matter how many features I turned off, it could ...... 
  2. 04/04/2020How many Ventilators for the price of those tanks the Pentagon didn't even want?This goes WAY beyond Trump or Obama. This is decades of poor planning and poor use of funds. Certainly it should have been addressed in the Trump, Obama, Bush, Clinton, Bush, and Reagan administrations -- all of which were well aware of the implications of a pandemic. I want a military prepared to help us, not just hurt other people. As an American I expect that with the ridiculous funding of our military might, we are prepared for damn near everything. Not just killing people and breaking things, but ...... 
  3. 01/28/2020Copyright Troll WarningThere's a copyright troll firm that has automated reverse-image searches and goes around looking for any posted images that they can make a quick copyright claim on. This is not quite a scam because it's technically legal, but it's run very much like a scam. This company works with a few "clients" that have vast repositories of copyrighted images. The trolls do a reverse web search on those images looking for hits. When they find one on a site that looks like someone they can scare, they work it like ...... 
  4. 03/26/2019Undestanding how OAUTH scopes will bring the concept of APPS to your Domino server 
  5. 02/05/2019Toro Yard Equipment - Not really a premium brand as far as I am concerned 
  6. 10/08/2018Will you be at the NYC Launch Event for HCL Domino v10 -- Find me! 
  7. 09/04/2018With two big projects on hold, I suddenly find myself very available for new short and long term projects.  
  8. 07/13/2018Who is HCL and why is it a good thing that they are now the ones behind Notes and Domino? 
  9. 03/21/2018Domino Apps on IOS is a Game Changer. Quit holding back. 
  10. 02/15/2018Andrew’s Proposed Gun Laws 
Click here for more articles.....


pen icon Comment Entry
Subject
Your Name
Homepage
*Your Email
* Your email address is required, but not displayed.
 
Your thoughts....
 
Remember Me  

Please wait while your document is saved.