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. lenwlenȡֵ⡣
****************************************************************

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






 
