187 lines
8.9 KiB
Plaintext
187 lines
8.9 KiB
Plaintext
#include "windows.h"
|
||
#include "ddespy.h"
|
||
|
||
rcinclude ddespy.dlg
|
||
|
||
IDI_DDESPY ICON ddespy.ico
|
||
|
||
IDR_MENU MENU
|
||
BEGIN
|
||
POPUP "&Output",
|
||
BEGIN
|
||
MENUITEM "&File...\tCtrl-F", IDM_OUTPUT_FILE
|
||
MENUITEM "&Debug Terminal\tCtrl-D" IDM_OUTPUT_DEBUG
|
||
MENUITEM "&Screen\tCtrl-S", IDM_OUTPUT_SCREEN
|
||
MENUITEM SEPARATOR
|
||
MENUITEM "&Clear Screen", IDM_CLEARSCREEN
|
||
MENUITEM "&Mark...", IDM_MARK
|
||
END
|
||
POPUP "&Monitor",
|
||
BEGIN
|
||
MENUITEM "String &handle data", IDM_FILTER_HSZINFO
|
||
MENUITEM "&Sent DDE messages", IDM_FILTER_INIT_TERM
|
||
MENUITEM "&Posted DDE messages", IDM_FILTER_DDEMSGS
|
||
MENUITEM "&Callbacks", IDM_FILTER_CALLBACKS
|
||
MENUITEM "&Errors", IDM_FILTER_ERRORS
|
||
MENUITEM "&Filters...", IDM_FILTER_DIALOG
|
||
END
|
||
POPUP "&Track",
|
||
BEGIN
|
||
MENUITEM "&String Handles", IDM_TRACK_HSZS
|
||
MENUITEM "&Conversations", IDM_TRACK_CONVS
|
||
MENUITEM "&Links", IDM_TRACK_LINKS
|
||
MENUITEM "Ser&vices", IDM_TRACK_SVRS
|
||
END
|
||
MENUITEM "&About...", IDM_ABOUT
|
||
END
|
||
|
||
IDR_ACCEL ACCELERATORS
|
||
BEGIN
|
||
"F" , IDM_OUTPUT_FILE, VIRTKEY, CONTROL
|
||
"D" , IDM_OUTPUT_DEBUG, VIRTKEY, CONTROL
|
||
"S" , IDM_OUTPUT_SCREEN, VIRTKEY, CONTROL
|
||
END
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
IDS_TITLE ,"DDESpy"
|
||
IDS_DEFAULT_OUTPUT_FNAME ,"ddespy.txt"
|
||
IDS_INIFNAME ,"ddespy.ini"
|
||
IDS_CLASS ,"DdeSpyWClass"
|
||
IDS_HUH ,"?"
|
||
IDS_ZERO ,"0"
|
||
IDS_CRLF ,"\r\n"
|
||
IDS_TRACKTITLE_1 ,"String Handles"
|
||
IDS_TRACKTITLE_2 ,"Active Conversations"
|
||
IDS_TRACKTITLE_3 ,"Active Links"
|
||
IDS_TRACKTITLE_4 ,"Registered Servers"
|
||
IDS_TRACKHEADING_1 ,"Handle\tCount\tString"
|
||
IDS_TRACKHEADING_2 ,"Service\tTopic\tClient\tServer"
|
||
IDS_TRACKHEADING_3 ,"Service\tTopic\tItem\tFormat\tType\tClient\tServer"
|
||
IDS_TRACKHEADING_4 ,"Service\tInstance Service"
|
||
IDS_QCLOSEFILE_TEXT ,"%s is already open for debug output. Do you wish to close it and open another file?"
|
||
IDS_QCLOSEFILE_CAPTION ,"Warning!"
|
||
IDS_ACTION_CLEANEDUP ,"Cleaned up"
|
||
IDS_ACTION_DESTROYED ,"Destroyed"
|
||
IDS_ACTION_INCREMENTED ,"Incremented"
|
||
IDS_ACTION_CREATED ,"Created"
|
||
IDS_SENT ,"Sent"
|
||
IDS_POSTED ,"Posted"
|
||
IDS_INPUT_DATA ,"\tInput data="
|
||
IDS_TABDDD ,"\t..."
|
||
IDS_OUTPUT_DATA ,"\tOutput data="
|
||
IDS_WARM ,"Warm"
|
||
IDS_HOT ,"Hot"
|
||
IDS_UNKNOWN_CALLBACK ,"Unknown callback"
|
||
IDS_APPIS ,"App="
|
||
IDS_TOPICIS ,"Topic="
|
||
IDS_ITEMIS ,"Item="
|
||
IDS_OR ," or "
|
||
IDS_FACKREQ ,"fAckReq "
|
||
IDS_DEFERUPD ,"fDeferUpd "
|
||
IDS_FACK ,"fAck "
|
||
IDS_FBUSY ,"fBusy "
|
||
IDS_FRELEASE ,"fRelease "
|
||
IDS_FREQUESTED ,"fRequested "
|
||
IDS_ERRST0 ,"Advacktimeout"
|
||
IDS_ERRST1 ,"Busy"
|
||
IDS_ERRST2 ,"Dataacktimeout"
|
||
IDS_ERRST3 ,"Dll_not_initialized"
|
||
IDS_ERRST4 ,"Dll_usage"
|
||
IDS_ERRST5 ,"Execacktimeout"
|
||
IDS_ERRST6 ,"Invalidparameter"
|
||
IDS_ERRST7 ,"Low Memory warning"
|
||
IDS_ERRST8 ,"Memory_error"
|
||
IDS_ERRST9 ,"Notprocessed"
|
||
IDS_ERRST10 ,"No_conv_established"
|
||
IDS_ERRST11 ,"Pokeacktimeout"
|
||
IDS_ERRST12 ,"Postmsg_failed"
|
||
IDS_ERRST13 ,"Reentrancy"
|
||
IDS_ERRST14 ,"Server_died"
|
||
IDS_ERRST15 ,"Sys_error"
|
||
IDS_ERRST16 ,"Unadvacktimeout"
|
||
IDS_ERRST17 ,"Unfound_queue_id"
|
||
IDS_MSG0 ,"Initiate"
|
||
IDS_MSG1 ,"Terminate"
|
||
IDS_MSG2 ,"Advise"
|
||
IDS_MSG3 ,"Unadvise"
|
||
IDS_MSG4 ,"Ack"
|
||
IDS_MSG5 ,"Data"
|
||
IDS_MSG6 ,"Request"
|
||
IDS_MSG7 ,"Poke"
|
||
IDS_MSG8 ,"Execute"
|
||
IDS_TYPE0 ,"Error"
|
||
IDS_TYPE1 ,"Advdata"
|
||
IDS_TYPE2 ,"Advreq"
|
||
IDS_TYPE3 ,"Advstart"
|
||
IDS_TYPE4 ,"Advstop"
|
||
IDS_TYPE5 ,"Execute"
|
||
IDS_TYPE6 ,"Connect"
|
||
IDS_TYPE7 ,"Connect_confirm"
|
||
IDS_TYPE8 ,"Xact_complete"
|
||
IDS_TYPE9 ,"Poke"
|
||
IDS_TYPE10 ,"Register"
|
||
IDS_TYPE11 ,"Request"
|
||
IDS_TYPE12 ,"Disconnect"
|
||
IDS_TYPE13 ,"Unregister"
|
||
IDS_TYPE14 ,"Wildconnect"
|
||
IDS_TYPE15 ,"Monitor"
|
||
IDS_INVALID_FNAME ,"Invalid filename."
|
||
IDS_PROF_OUT_FILE ,"output.file"
|
||
IDS_PROF_OUT_DEBUG ,"output.debug"
|
||
IDS_PROF_OUT_SCREEN ,"output.screen"
|
||
IDS_PROF_MONITOR_STRINGHANDLES ,"monitor.stringhandles"
|
||
IDS_PROF_MONITOR_INITIATES ,"monitor.initiates/terminates"
|
||
IDS_PROF_MONITOR_DDE_MESSAGES ,"monitor.messages"
|
||
IDS_PROF_MONITOR_CALLBACKS ,"monitor.callbacks"
|
||
IDS_PROF_MONITOR_ERRORS ,"monitor.errors"
|
||
IDS_PROF_TRACK_STRINGHANDLES ,"track.stringhandles"
|
||
IDS_PROF_TRACK_LINKS ,"track.links"
|
||
IDS_PROF_TRACK_CONVERSATIONS ,"track.conversations"
|
||
IDS_PROF_TRACK_SERVICES ,"track.services"
|
||
IDS_PROF_TERSE ,"terse"
|
||
IDS_YES ,"yes"
|
||
IDS_NO ,"no"
|
||
IDS_MARKDLGTITLE ,"Insert Mark"
|
||
IDS_SEPERATOR ,"------"
|
||
IDS_MARKTEXT ,"Mark Text:"
|
||
IDS_LISTCLASS ,"MCLBClientWClass"
|
||
IDS_LBOX ,"LISTBOX"
|
||
IDS_WILD ,"*"
|
||
IDS_STRINGCLASS ,"StringWindow"
|
||
IDS_FMT_CB1 ,"Task:0x%x Time:%ld Callback:\r\n\tType=%ws, "
|
||
IDS_FMT_CB2 ,", hConv=0x%lx, hsz1=0x%lx(\""%ws\"")\r\n\thsz2=0x%lx(\""%ws\""), hData=0x%lx, dwData1=0x%lx, dwData2=0x%lx\r\n\treturn=0x%lx"
|
||
IDS_FMT_CTXT1 ,"\tContext = (wFlags=%ld, wCountryID=%ld, iCodePage=%ld, dwLangID=%ld,\r\n\tdwSecurity=%ld, ImpersonationLevel=%d, ContextTrackingMode=%d,\r\n\tEffectiveOnly=%ld)"
|
||
IDS_FMT_DATAIS1 ,"\r\n\tData="
|
||
IDS_FMT_ER1 ,"Task:0x%x Time:%ld Error: #%x = %ws"
|
||
IDS_FMT_EXEC1 ,"Execute command=\""%ws\"""
|
||
IDS_FMT_MSG1 ,"Task:0x%x Time:%ld hwndTo=0x%x Message(%ws)=%ws:"
|
||
IDS_FMT_MSG2 ,"\thwndFrom=0x%x, "
|
||
IDS_FMT_STATUSIS ,"status=%x("
|
||
IDS_FMT_TRS_CB1 ,"[%x:%ld] CB(%ws, "
|
||
IDS_FMT_TRS_CB2 ,", %lx, %lx(\""%ws\"") %lx(\""%ws\""), %lx, %lx, %lx)=%lx"
|
||
IDS_FMT_TRS_CTXT1 ,"\tContext = (%ld, %ld, %ld, %ld, %ld, %d, %d, %ld)"
|
||
IDS_FMT_TRS_DATAIS1 ," Data="
|
||
IDS_FMT_TRS_ER1 ,"[%x:%ld] Error: #%x = %ws"
|
||
IDS_FMT_TRS_EXEC1 ,"Exec=\""%ws\"""
|
||
IDS_FMT_TRS_MSG1 ,"[%x:%ld] %x->%x %ws %ws:"
|
||
IDS_FMT_TRS_MSG2 ,"\t"
|
||
IDS_FMT_TRS_STATUSIS ,"S=%x("
|
||
IDS_FMT_SH_MSG1 ,"Task:0x%x, Time:%ld, String Handle %s: %lx(%s)"
|
||
#ifdef JAPAN
|
||
IDS_BADATOM ,"<22>s<EFBFBD><73><EFBFBD>ȱ<EFBFBD><C8B1> (0x%x)"
|
||
#else
|
||
IDS_BADATOM ,"Bad Atom (0x%x)"
|
||
#endif
|
||
END
|
||
|
||
#include <ntverp.h>
|
||
|
||
#define VER_FILETYPE VFT_APP
|
||
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
||
#define VER_FILEDESCRIPTION_STR "DDE Spy Debugging Applet"
|
||
#define VER_INTERNALNAME_STR "ddespy\0"
|
||
#define VER_ORIGINALFILENAME_STR "ddespy.exe\0"
|
||
|
||
#include "common.ver"
|