Code decompilation VC++ and VB.NET
-
We have an application made in VB 2005 and it uses VC++ code as well. I have heard that a compiled .net application can be decompiled with certain software. Can the VC++ files also be decompiled or is it just the VB.net files??? Thanks! /Kristian
Any managed code assembly can be decompiled back to some resemblance of the original source, sans comments of course. Lutz Roeder's .NET Reflector is probably the best example of such a tool.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
We have an application made in VB 2005 and it uses VC++ code as well. I have heard that a compiled .net application can be decompiled with certain software. Can the VC++ files also be decompiled or is it just the VB.net files??? Thanks! /Kristian
IF the VC++ files are managed they're equally decompilable. If they're native code the reflection will only show the VB calls into the C++. The C++ will be no more vulnerable to decompilation than in a 100% native application. Which is to say, any sufficiently determined individual can still reverse engineer it by disassembling the binary and using runtime debugging tools.
Otherwise [Microsoft is] toast in the long term no matter how much money they've got. They would be already if the Linux community didn't have it's head so firmly up it's own command line buffer that it looks like taking 15 years to find the desktop. -- Matthew Faithfull