I have used reflector until its trial period ended
I have decoded many applications successfully. And by my recent post i was able to identify it can also decode delphi.net vcl apps (d2007).
Can i decode delphi.net vcl and translate it to a c# application which can be compiled success fully using visual studio.
The answer to the question
Can i decode delphi.net vcl app and translate it to a c# application which can be compiled success fully using visual studio ?is NoThis is the Why.
When you create a vcl net application using delphi (8), 2005, 2006 or 2007, the delphi compiler create an .NET application with a lot of dependencies to internal classes which are wrappers and helpers to call the real .net classes, these classes (wrappers) was created to facilitate the creation of .net applications to the existing delphi win32 developers.
Consider this sample.
This a delphi .net app
if you translate manually this code to C#
But using reflector you get this for the first snippet
As you can see the last code call a lot of helper classes and functions (like
TextOutput) which are not part of the standard .net framework, rather they are part of theBorland.Delphi.Systemnamespace.Reflector can help you to translate some snippets of code but not the full application in an automated way.