ǰ汾4.0
ǸCOM DLL. ĳBUGõ.

·ѡһ

ط1:
ֱʹLoadLibraryشDLL.Ȼ󱣳ֲҪͷ. ַͲò.ֻʹĬϵĲ(SetLogFile SetMsgInfo SetExtraInfo)

ط2:
DLLͨCOM DLLһ,ʹǰҪregsvr32 dbgdm.dllȥעᵽϵͳ.
Ȼڳͷ(ܵ),һdbg.
簴
set dbg = CreateObject("dm.dbg")
Ȼ鿴汾ϢȷǷ񴴽ɹ
TracePrint dbg.Ver()
Ļ,Ӧ汾4.0
Ȼ󱣳ͷ.


һĳ쳣˳,߱,ôᱻDLLжϣEXEͬĿ¼һEXEͬ־ļ. 
Դ־ļ,鿴ĶջϢ,гǰʱ̵߳ĵ. Ըеģƶ.

ֱĵַڲ,ô԰־㵱ǰõĲDLLһ𷢸,Խ.

ƽ̨һ.ֻҪһ󲢱ּ.

Ҫرע,־ļᱻɾ,˶α,ļ¼ļĺ. ÿαʱϢ¼.

һ3ӿ,3ӿֻڴCOMԺ
SetLogFile SetMsgInfo SetExtraInfo

SetLogFileԶ־ļ·,:
dbg.SetLogFile "c:\test.log"

SetMsgInfoԶʱĴ,:
dbg.SetMsgInfo "!!"

SetExtraInfoԶʱ־︽,һ㸽ʱϢ,:
dbg.SetExtraInfo "ǰ汾v3.45"
