Click to See Complete Forum and Search --> : De-Compiler


Sam Hobbs
February 15th, 2000, 08:34 PM
I know someone that has written a program using 16-bit vb, but he has lost his source code. It uses VBRUN200.dll, so I assume it is version 2. Does anyone know if it is possible to de-compile it?

Normally, of course, us developers do not want others to be able to get our source, but this is not a normal situation.

diprima
February 15th, 2000, 08:49 PM
As far as I know the only was you can de-compile a program is viewing it in assembler language. This is because when we program we use labels to identify other part of program which we want to jump to. when you dis-assmble a program you loose all this labels that make any code understandable.

Best of luck
ivan

Sam Hobbs
February 15th, 2000, 09:04 PM
Technically speaking, the earlier versions of vb were never truly compiled; they were only translated into an internal code. So there would not be assembly language to look at, at least not the important stuff.

This post is the first post I have made to this forum; I have posted about 800 posts to the VC forum. I have been programming in Microsoft C since before the existence of VB. I am nearly certain that VB was never compiled into machine language until version 5 or 6.

I have written programs in vb version 3 or thereabouts and the program runs so slow it might have taken all night. So I have switched to vc to do the programming and vc did more work but took about half a minute. I assume that the compileing capability of current vb is competitive with vc.

Kyle Burns
February 16th, 2000, 12:27 PM
There is a shareware decompiler at http://www.geocities.com/rayrxu/vbdownload.html I haven't tried it, but it might be what you're looking for.