Welcome to Dream.In.Code
Become a VB Expert!

Join 137,234 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,681 people online right now. Registration is fast and FREE... Join Now!




exe convertion

 
Reply to this topicStart new topic

exe convertion, from exe to source

jeffluminais
22 Feb, 2007 - 09:20 AM
Post #1

New D.I.C Head
*

Joined: 22 Feb, 2007
Posts: 1


My Contributions
I need to take an executible written in VB 6 and convert it back to source. I have the exe and the cab files. Any suggestions? Thanks.
User is offlineProfile CardPM
+Quote Post

Amadeus
RE: Exe Convertion
25 Feb, 2007 - 07:16 AM
Post #2

g++ -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 12,230



Thanked: 40 times
Dream Kudos: 25
My Contributions
You can take a look for a vb6 decompiler, but even those come with some problems - it will not decompile into the exact original source.
User is online!Profile CardPM
+Quote Post

NickDMax
RE: Exe Convertion
25 Feb, 2007 - 02:23 PM
Post #3

2B||!2B
Group Icon

Joined: 18 Feb, 2007
Posts: 2,859



Thanked: 50 times
Dream Kudos: 550
My Contributions
In general it is not really possible to go from the exe to the original code. First of all the variable names are all lost allong with many of the function names and they become just addresses. Secondly the compilerr does all kinds of optimizations for you to make your program work faster or use resourses more effectivly.

Because compilers work with a good amout of regularity it is possible to decompile a program to a rather ruff version of the code. The process then becomes a debugging excercize to watch each routine (or at least the ones that you are interested in) to see if you can guess at how it works and what each variable does.

Basicly the more expensive tools work pretty well, and the free ones work good enough, but a lot of it comes down to who is looking at the code.

There is a tutorial on dissasembly of VB files here on DIC. It also lists some of the more common tools used in dissassembly.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/4/08 03:56PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month