recoverydw will recovery the dw's syntax expression from .pbd or .dll file by internal function in pb.it's simple.

iv finished the v6.5,v7,v8,v9,v10,v11,if you will decompile other version,you can migrate the source,do-it-yourselfery!
lower version(ANSI),you can migrate from v9;upper version(UNICODE),you can migrate from v11.

*the final .exe program(eg:recoverydw_v90.exe) must run with pb vm(pb runtime) files,eg: pbvm90.dll and pbdwe90.dll,copy to the same folder with final .exe file.and the .exe version must corresponding to the .pbd(or dll) version.it's important.

pocketbuilder is same!

****************************************************************
请自行改进的：
1.w_main界面上的两个按钮事件中：filewrite当初没有考虑到32k的限制。105中已经改好这个bug。其他版本请参考修改。
2.打开文件时过滤文件类型中请加上exe格式
3.在某些版本中，当初疏忽，漏掉了一句代码
application: recovery
event: ue_get_dwolist

//1.ansi or unicode
FileSeek(iFileHandle,hdr_offset,FromBeginning!)
Fileread(iFileHandle,bread)                 //某些版本这一句漏掉，请自行添加

//the fifth char is "00" then it's unicode
if Integer(BlobMid(bread,5,2)) = 80 then //0x0050H
	isUnicode = true
	ul_NEXT_NOD_OFFSET = 1536         //0x600H
	ul_LenOfObjName_OFFSET = 26
end if

4.操作时，应该把exe,pbd,dll从原安装程序中拷贝出来，因为如果目录中含有pbvm***.dll时，由于版本差异，会导致w_main无法打开。
(你选择文件夹时，切换了文件夹，安装文件夹成为默认当前文件夹，程序会默认使用安装目录的pbvm***.dll)

5. lenw和len取汉字的问题。
****************************************************************

last date: 2011.1.2

email:chengang0769#21cn.com 2009.10.15
email:chengang0769#21cn.com 2009.10.17/2009.8.29
blog:http://blog.csdn.net/chengg0769






 
