Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   VB3 decompiling (https://forum.exetools.com/showthread.php?t=6549)

DARKER 02-03-2005 19:09

you can read more about this theme (converting DoDi to VB6) here:
hxxp://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=38543&lngWId=1
also some source are here ...

amigo 02-04-2005 04:52

gziped zip
 
sf42's attachment DoDi's_Vb.zip is not a PK zip archive
The PK zip is GZIPed by UNIX GZIP
So if you work in win you have to GUNZIP first (p.e. in winrar) to get ZIP archive
.
It was strange for me, old microsofter :))
May be this info will be useful for someone

Regards
amigo

wasq 02-05-2005 04:44

@DARKER
i see this sources. (decompiled Dodi converted to VB6 from Planet-Source-Code)
The autor of this code writes "converterd to vb6 90% complete". This code is not functional. Dodi decompiler can't define types for some variables when decompiling the code. this variables we have untyped in sources. but the code will work only if all variables are correct defined. in Planet-Source-Code sources there is many untyped variables. this sources can't even load opcode definition files (*.dat)

@sf42
maybe i try to translate this sources to VB6 in weekend

wasq 02-08-2005 20:31

1 Attachment(s)
@sf42

I do it! :)

I have been translated sources to VB6 and its really works. see attached file.
It was only one problem, connected with unicode nature of string in VB6, caused an error in indirect type conversion.

DARKER 02-08-2005 21:30

Nice Job. It's pity that vb4 is no more using :-) ... but sometime it can be usefull in exploring algo's of some old apps.

sf42 02-08-2005 22:32

Nice one wasq! The compiling was easy but I had the exact problem with the strings you fixed and as I've never used VB before I didn't know where to start debugging. Thanks a lot!

wasq 02-08-2005 23:33

@sf42
I also never use VB for programming. But the problem was "generic" for all languages and not very complicated.
Different algorithm for starting form2txt.exe from programm was more VB-specific, but in MSDN i found ready to compile example

Gato_negro 05-19-2005 04:18

Hi im recently donwloaded dodi full installation, my problem its with the app decompiled... the app that im trying to decompile have custom controlls and give me vbx files(on folder setup)..(3 of them only).. on the manual of dodi's says:
Custom Controls (VBX)
VBDis needs descriptions of all custom controls used in a program, in order to show the properties and events. These descriptions are provided in data files with the extension '300' (for VB 3.0). If a program makes use of additional VBXs you must edit the sources, before you can start the program in the development environment.

My question HOW I CAN EDIT THE SOURCES??? THIS ITS BEFORE OR AFTER I MAKE THE DECOMPILATION??? WHEN I MAKE THE DECOMPILATION, the DODI APP SENDS ME MESSAGES SAYING ME THAT "MISSING DESCRIPTION FOR C:/VDESC/ X.VBX"(this vbx file its included on Setup folder of the app)..... THATS THE REAZON I GUESS THE EDIT PROCCES ITS NEED MAKED BEFORE THE DECOMPILATION...
ANY IDEA???
THANKS amigos!

dedificator 05-23-2005 02:30

Hi!
Dodi's tools includes also tool for vbx dexcriptor creation - you must have this vbx file.
The process is as follows: Open in VB3 IDE Form1.frm in DODI's folder and place on this form needed controls. Then run. Descriptor (.300) will be created and can be used for decompilation.
In DODI's folder is also doc file about this.
I did this for some prg and this works very well.

Be careful - DODI's created sources must be very thorough checked against bad typedefs and typecasting (decompilator uses assumption, that all variables can be variant ...) before recompilation.


All times are GMT +8. The time now is 02:48.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX