Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #16  
Old 02-03-2005, 19:09
DARKER DARKER is offline
VIP
 
Join Date: Jul 2004
Location: Somewhere Over the Rainbow
Posts: 457
Rept. Given: 15
Rept. Rcvd 119 Times in 51 Posts
Thanks Given: 11
Thanks Rcvd at 741 Times in 197 Posts
DARKER Reputation: 100-199 DARKER Reputation: 100-199
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 ...
Reply With Quote
  #17  
Old 02-04-2005, 04:52
amigo amigo is offline
Friend
 
Join Date: Dec 2002
Posts: 30
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
amigo Reputation: 0
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
Reply With Quote
  #18  
Old 02-05-2005, 04:44
wasq
 
Posts: n/a
@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
Reply With Quote
  #19  
Old 02-08-2005, 20:31
wasq
 
Posts: n/a
@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.
Attached Files
File Type: rar Vbdis_6.rar (150.1 KB, 37 views)
Reply With Quote
  #20  
Old 02-08-2005, 21:30
DARKER DARKER is offline
VIP
 
Join Date: Jul 2004
Location: Somewhere Over the Rainbow
Posts: 457
Rept. Given: 15
Rept. Rcvd 119 Times in 51 Posts
Thanks Given: 11
Thanks Rcvd at 741 Times in 197 Posts
DARKER Reputation: 100-199 DARKER Reputation: 100-199
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.
Reply With Quote
  #21  
Old 02-08-2005, 22:32
sf42 sf42 is offline
Friend
 
Join Date: Feb 2003
Posts: 117
Rept. Given: 23
Rept. Rcvd 28 Times in 13 Posts
Thanks Given: 22
Thanks Rcvd at 82 Times in 32 Posts
sf42 Reputation: 28
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!
Reply With Quote
  #22  
Old 02-08-2005, 23:33
wasq
 
Posts: n/a
@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
Reply With Quote
  #23  
Old 05-19-2005, 04:18
Gato_negro
 
Posts: n/a
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!
Reply With Quote
  #24  
Old 05-23-2005, 02:30
dedificator dedificator is offline
Friend
 
Join Date: Oct 2002
Posts: 89
Rept. Given: 4
Rept. Rcvd 16 Times in 6 Posts
Thanks Given: 0
Thanks Rcvd at 4 Times in 4 Posts
dedificator Reputation: 17
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Decompiling the mov compiler chants General Discussion 3 12-08-2016 21:16
Who are familiar with decompiling? DMichael General Discussion 3 08-09-2013 01:04
decompiling back to C++? Rhodium General Discussion 44 10-11-2004 08:30


All times are GMT +8. The time now is 23:31.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )