|
|
|
@@ -68,65 +68,65 @@ END |
68 | IDI_RRQ ICON DISCARDABLE "res\\wrq.ico"
|
68 | IDI_RRQ ICON DISCARDABLE "res\\wrq.ico"
|
69 | IDI_WRQ ICON DISCARDABLE "res\\rrq.ico"
|
69 | IDI_WRQ ICON DISCARDABLE "res\\rrq.ico"
|
70 | IDI_BROWSE ICON DISCARDABLE "shared-data/browse-icon.ico"
|
70 | IDI_BROWSE ICON DISCARDABLE "shared-data/browse-icon.ico"
|
71 | IDR_MAINFRAME ICON DISCARDABLE "res\\pumpkin.ico"
|
71 | IDR_MAINFRAME ICON DISCARDABLE "res\\pumpkin.ico"
|
72 | IDI_PLAY ICON DISCARDABLE "shared-data/play-icon.ico"
|
72 | IDI_PLAY ICON DISCARDABLE "shared-data/play-icon.ico"
|
73 | IDI_UP ICON DISCARDABLE "res\\up.ico"
|
73 | IDI_UP ICON DISCARDABLE "res\\up.ico"
|
74 | IDI_DOWN ICON DISCARDABLE "res\\down.ico"
|
74 | IDI_DOWN ICON DISCARDABLE "res\\down.ico"
|
75 | IDI_REMOVE ICON DISCARDABLE "res\\remove.ico"
|
75 | IDI_REMOVE ICON DISCARDABLE "res\\remove.ico"
|
76 |
|
76 |
|
77 | /////////////////////////////////////////////////////////////////////////////
|
77 | /////////////////////////////////////////////////////////////////////////////
|
78 | //
|
78 | //
|
79 | // Dialog
|
79 | // Dialog
|
80 | //
|
80 | //
|
81 |
|
81 |
|
82 | IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 74
|
82 | IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 74
|
83 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
83 | STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
84 | CAPTION "About PumpKIN"
|
84 | CAPTION "About PumpKIN"
|
85 | FONT 8, "MS Sans Serif"
|
85 | FONT 8, "MS Sans Serif"
|
86 | BEGIN
|
86 | BEGIN
|
87 | ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20
|
87 | ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20
|
88 | LTEXT "PumpKIN, Version 2.7.1",IDC_STATIC,40,15,119,8,
|
88 | LTEXT "PumpKIN, Version 2.7.1",IDC_STATIC,40,15,119,8,
|
89 | SS_NOPREFIX
|
89 | SS_NOPREFIX
|
90 | LTEXT "Copyright © 1997-2006 Klever Group",IDC_STATIC,40,30,
|
90 | LTEXT "Copyright © 1997-2006 Klever Group",IDC_STATIC,40,30,
|
91 | 170,8
|
91 | 170,8
|
92 | DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP
|
92 | DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP
|
93 | PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,124,53,86,14
|
93 | PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,124,53,86,14
|
94 | END
|
94 | END
|
95 |
|
95 |
|
96 | IDD_PUMPKIN_DIALOG DIALOGEX 0, 0, 362, 193
|
96 | IDD_PUMPKIN_DIALOG DIALOGEX 0, 0, 362, 193
|
97 | STYLE DS_3DLOOK | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
|
97 | STYLE DS_3DLOOK | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
|
98 | EXSTYLE WS_EX_ACCEPTFILES | WS_EX_APPWINDOW
|
98 | EXSTYLE WS_EX_ACCEPTFILES | WS_EX_APPWINDOW
|
99 | CAPTION " PumpKIN"
|
99 | CAPTION " PumpKIN"
|
100 | FONT 8, "MS Sans Serif"
|
100 | FONT 8, "MS Sans Serif", 0, 0, 0x1
|
101 | BEGIN
|
101 | BEGIN
|
102 | CONTROL "List1",IDC_CONNECTIONS,"SysListView32",LVS_REPORT |
|
102 | CONTROL "List1",IDC_CONNECTIONS,"SysListView32",LVS_REPORT |
|
103 | LVS_AUTOARRANGE | WS_BORDER | WS_TABSTOP,7,7,295,108,
|
103 | LVS_AUTOARRANGE | WS_BORDER | WS_TABSTOP,7,7,295,108,
|
104 | WS_EX_DLGMODALFRAME
|
104 | WS_EX_DLGMODALFRAME
|
105 | PUSHBUTTON "&Get File",IDC_GET,305,7,50,17,BS_NOTIFY,
|
105 | PUSHBUTTON "&Get File",IDC_GET,305,7,50,17,BS_NOTIFY,
|
106 | WS_EX_CLIENTEDGE
|
106 | WS_EX_CLIENTEDGE
|
107 | PUSHBUTTON "&Put File",IDC_PUT,305,25,50,17,BS_NOTIFY,
|
107 | PUSHBUTTON "&Put File",IDC_PUT,305,25,50,17,BS_NOTIFY,
|
108 | WS_EX_CLIENTEDGE
|
108 | WS_EX_CLIENTEDGE
|
109 | PUSHBUTTON "&Abort xfer",IDC_ABORT,305,43,50,17,BS_NOTIFY,
|
109 | PUSHBUTTON "&Abort xfer",IDC_ABORT,305,43,50,17,BS_NOTIFY,
|
110 | WS_EX_CLIENTEDGE
|
110 | WS_EX_CLIENTEDGE
|
111 | PUSHBUTTON "&Options",IDC_OPTIONS,305,61,50,17,BS_NOTIFY,
|
111 | PUSHBUTTON "&Options",IDC_OPTIONS,305,61,50,17,BS_NOTIFY,
|
112 | WS_EX_CLIENTEDGE
|
112 | WS_EX_CLIENTEDGE
|
113 | PUSHBUTTON "E&xit",IDC_EXIT,305,79,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE
|
113 | PUSHBUTTON "E&xit",IDC_EXIT,305,79,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE
|
114 | PUSHBUTTON "&Help",ID_HELP,305,97,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE
|
114 | PUSHBUTTON "&Help",ID_HELP,305,97,50,17,BS_NOTIFY,WS_EX_CLIENTEDGE
|
115 | LISTBOX IDC_LOG,7,115,348,64,LBS_USETABSTOPS |
|
115 | LISTBOX IDC_LOG,7,115,348,64,LBS_USETABSTOPS |
|
116 | LBS_NOINTEGRALHEIGHT | LBS_NOSEL | WS_VSCROLL |
|
116 | LBS_NOINTEGRALHEIGHT | LBS_NOSEL | WS_VSCROLL |
|
117 | WS_HSCROLL,WS_EX_DLGMODALFRAME
|
117 | WS_HSCROLL,WS_EX_DLGMODALFRAME
|
118 | PUSHBUTTON "..",IDCANCEL,0,183,6,7,NOT WS_VISIBLE | NOT WS_TABSTOP
|
118 | PUSHBUTTON "..",IDCANCEL,0,183,6,7,NOT WS_VISIBLE | NOT WS_TABSTOP
|
119 | CONTROL "&Server is running",IDC_LISTENING,"Button",
|
119 | CONTROL "&Server is running",IDC_LISTENING,"Button",
|
120 | BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_FLAT | WS_TABSTOP,286,
|
120 | BS_AUTOCHECKBOX | BS_LEFTTEXT | BS_FLAT | WS_TABSTOP,286,
|
121 | 181,69,11,WS_EX_TRANSPARENT | WS_EX_STATICEDGE
|
121 | 181,69,11,WS_EX_TRANSPARENT | WS_EX_STATICEDGE
|
122 | END
|
122 | END
|
123 |
|
123 |
|
124 | IDD_PROPS_SERVER DIALOG DISCARDABLE 0, 0, 300, 201
|
124 | IDD_PROPS_SERVER DIALOG DISCARDABLE 0, 0, 300, 201
|
125 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
|
125 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
|
126 | CAPTION "Server"
|
126 | CAPTION "Server"
|
127 | FONT 8, "MS Sans Serif"
|
127 | FONT 8, "MS Sans Serif"
|
128 | BEGIN
|
128 | BEGIN
|
129 | GROUPBOX "TFTP filesystem &root (download path)",IDC_STATIC,7,7,
|
129 | GROUPBOX "TFTP filesystem &root (download path)",IDC_STATIC,7,7,
|
130 | 286,38
|
130 | 286,38
|
131 | EDITTEXT IDC_TFTPROOT,13,16,256,13,ES_AUTOHSCROLL
|
131 | EDITTEXT IDC_TFTPROOT,13,16,256,13,ES_AUTOHSCROLL
|
132 | PUSHBUTTON "&B",IDC_BROWSE,274,16,13,13,BS_ICON
|
132 | PUSHBUTTON "&B",IDC_BROWSE,274,16,13,13,BS_ICON
|
@@ -533,65 +533,65 @@ END |
533 |
|
533 |
|
534 |
|
534 |
|
535 | /////////////////////////////////////////////////////////////////////////////
|
535 | /////////////////////////////////////////////////////////////////////////////
|
536 | //
|
536 | //
|
537 | // String Table
|
537 | // String Table
|
538 | //
|
538 | //
|
539 |
|
539 |
|
540 | STRINGTABLE DISCARDABLE
|
540 | STRINGTABLE DISCARDABLE
|
541 | BEGIN
|
541 | BEGIN
|
542 | IDS_ABOUTBOX "&About PumpKIN..."
|
542 | IDS_ABOUTBOX "&About PumpKIN..."
|
543 | IDS_FMT_BYTES "%lu"
|
543 | IDS_FMT_BYTES "%lu"
|
544 | IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed."
|
544 | IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed."
|
545 | IDS_TFTP_ERROR_ACCESS "Access violation"
|
545 | IDS_TFTP_ERROR_ACCESS "Access violation"
|
546 | IDS_TFTP_ERROR_NOTFOUND "File not found"
|
546 | IDS_TFTP_ERROR_NOTFOUND "File not found"
|
547 | IDS_TFTP_ERROR_DIRFULL "Directory is full"
|
547 | IDS_TFTP_ERROR_DIRFULL "Directory is full"
|
548 | IDS_TFTP_ERROR_SHARING "Sharing violation"
|
548 | IDS_TFTP_ERROR_SHARING "Sharing violation"
|
549 | IDS_TFTP_ERROR_DISKFULL "Disk full"
|
549 | IDS_TFTP_ERROR_DISKFULL "Disk full"
|
550 | IDS_TFTP_ERROR_UNDEFINED "Undefined error"
|
550 | IDS_TFTP_ERROR_UNDEFINED "Undefined error"
|
551 | IDS_LOG_START "PumpKIN started"
|
551 | IDS_LOG_START "PumpKIN started"
|
552 | IDS_LOG_LISTENRECEIVEERROR "Error listening for incoming connections"
|
552 | IDS_LOG_LISTENRECEIVEERROR "Error listening for incoming connections"
|
553 | END
|
553 | END
|
554 |
|
554 |
|
555 | STRINGTABLE DISCARDABLE
|
555 | STRINGTABLE DISCARDABLE
|
556 | BEGIN
|
556 | BEGIN
|
557 | IDS_LOG_LISTENACCEPTERROR "Error accepting incoming connection"
|
557 | IDS_LOG_LISTENACCEPTERROR "Error accepting incoming connection"
|
558 | IDS_LOG_RRQSERVE "'%s' of type '%s' is requested from %s"
|
558 | IDS_LOG_RRQSERVE "'%s' of type '%s' is requested from %s"
|
559 | IDS_LOG_LISTENOPCODE "Invalid opcode in initial connection request"
|
559 | IDS_LOG_LISTENOPCODE "Invalid opcode in initial connection request"
|
560 | IDS_LOG_XFERUDPSEND "UDP packet send failed"
|
560 | IDS_LOG_XFERUDPSEND "UDP packet send failed"
|
561 | IDS_LOG_XFERRECEIVE "Error on xfer socket"
|
561 | IDS_LOG_XFERRECEIVE "Error on xfer socket"
|
562 | IDS_LOG_XFERSEND "Error on xfer socket"
|
562 | IDS_LOG_XFERSEND "Error on xfer socket"
|
563 | IDS_LOG_XFERUDPRECEIVE "UDP packet receive failed"
|
563 | IDS_LOG_XFERUDPRECEIVE "UDP packet receive failed"
|
564 | IDS_LOG_XFERSOURCETID "Packet from unexpected source"
|
564 | IDS_LOG_XFERSOURCETID "Packet from unexpected source"
|
565 | IDS_LOG_SENTTFTPERROR ":%u: %s"
|
565 | IDS_LOG_SENTTFTPERROR ">> %u: %s"
|
566 | IDS_LOG_GOTTFTPERROR "TFTP:%u: %s"
|
566 | IDS_LOG_GOTTFTPERROR "TFTP:%u: %s"
|
567 | IDS_LOG_XFEROPCODE "Invalid opcode (%u) during transfer received"
|
567 | IDS_LOG_XFEROPCODE "Invalid opcode (%u) during transfer received"
|
568 | IDS_LOG_XFERRRQFINISHED "Transfer of '%s' has successfully completed"
|
568 | IDS_LOG_XFERRRQFINISHED "Transfer of '%s' has successfully completed"
|
569 | IDS_TITLE_OPTIONS "Options"
|
569 | IDS_TITLE_OPTIONS "Options"
|
570 | IDS_LOG_WRQSERVE "Writing of '%s' of type '%s' is requested by %s"
|
570 | IDS_LOG_WRQSERVE "Writing of '%s' of type '%s' is requested by %s"
|
571 | IDS_TFTP_ERROR_FAILEDTORENAME "Too many clones of the file"
|
571 | IDS_TFTP_ERROR_FAILEDTORENAME "Too many clones of the file"
|
572 | IDS_RENAME_TITLE "Save As"
|
572 | IDS_RENAME_TITLE "Save As"
|
573 | END
|
573 | END
|
574 |
|
574 |
|
575 | STRINGTABLE DISCARDABLE
|
575 | STRINGTABLE DISCARDABLE
|
576 | BEGIN
|
576 | BEGIN
|
577 | IDS_LOG_TIMEDOUT "Transmission of '%s' is timed out"
|
577 | IDS_LOG_TIMEDOUT "Transmission of '%s' is timed out"
|
578 | IDS_CONFIRMEXIT_TITLE "Exit"
|
578 | IDS_CONFIRMEXIT_TITLE "Exit"
|
579 | IDS_CONFIRMEXIT_TEXT "File transmission is currently in progress. Are you sure you want to exit?"
|
579 | IDS_CONFIRMEXIT_TEXT "File transmission is currently in progress. Are you sure you want to exit?"
|
580 | IDS_LOG_XFERWRQFINISHED "Transfer of '%s' has successfully completed"
|
580 | IDS_LOG_XFERWRQFINISHED "Transfer of '%s' has successfully completed"
|
581 | IDS_LOG_XFERABORTED "Transfer of '%s' was aborted"
|
581 | IDS_LOG_XFERABORTED "Transfer of '%s' was aborted"
|
582 | IDS_TITLE_PUTREQUEST "Send file"
|
582 | IDS_TITLE_PUTREQUEST "Send file"
|
583 | IDS_TITLE_GETREQUEST "Fetch file"
|
583 | IDS_TITLE_GETREQUEST "Fetch file"
|
584 | IDS_WTALKHEADING "Talk with "
|
584 | IDS_WTALKHEADING "Talk with "
|
585 | IDS_TITLE_BROWSEFILE "Browse"
|
585 | IDS_TITLE_BROWSEFILE "Browse"
|
586 | IDS_LOG_RESOLVEFAILED "Failed to resolve host address for '%s'"
|
586 | IDS_LOG_RESOLVEFAILED "Failed to resolve host address for '%s'"
|
587 | IDS_LOG_FAILEDLOCALFILE "Failed to open local file '%s'"
|
587 | IDS_LOG_FAILEDLOCALFILE "Failed to open local file '%s'"
|
588 | IDS_LOG_FAILEDTOOPEN "Failed to open '%s'"
|
588 | IDS_LOG_FAILEDTOOPEN "Failed to open '%s'"
|
589 | IDS_OTALXHEADING "Open Talks: talking to "
|
589 | IDS_OTALXHEADING "Open Talks: talking to "
|
590 | IDS_REGISTRYKEY "Klever Group"
|
590 | IDS_REGISTRYKEY "Klever Group"
|
591 | IDS_KLEVERNET_URL "http://www.klever.net/"
|
591 | IDS_KLEVERNET_URL "http://www.klever.net/"
|
592 | IDS_LOGTIMEFORMAT "%H:%M:%S %B %d"
|
592 | IDS_LOGTIMEFORMAT "%H:%M:%S %B %d"
|
593 | END
|
593 | END
|
594 |
|
594 |
|
595 | STRINGTABLE DISCARDABLE
|
595 | STRINGTABLE DISCARDABLE
|
596 | BEGIN
|
596 | BEGIN
|
597 | ID_TRAY_HELP "Read the help on PumpKIN"
|
597 | ID_TRAY_HELP "Read the help on PumpKIN"
|
@@ -627,60 +627,61 @@ BEGIN |
627 | ID_HELP "Read help on PumpKIN"
|
627 | ID_HELP "Read help on PumpKIN"
|
628 | END
|
628 | END
|
629 |
|
629 |
|
630 | STRINGTABLE DISCARDABLE
|
630 | STRINGTABLE DISCARDABLE
|
631 | BEGIN
|
631 | BEGIN
|
632 | IDS_DROPFILES_TITLE "Drop Files"
|
632 | IDS_DROPFILES_TITLE "Drop Files"
|
633 | IDS_NOMULTIPLEDROP_TEXT "You can't drop more than one file here. Only the first one will be accepted"
|
633 | IDS_NOMULTIPLEDROP_TEXT "You can't drop more than one file here. Only the first one will be accepted"
|
634 | IDS_LOG_REQUESTING "Requesting '%s' from '%s'"
|
634 | IDS_LOG_REQUESTING "Requesting '%s' from '%s'"
|
635 | IDS_LOG_SENDING "Sending '%s' to '%s'"
|
635 | IDS_LOG_SENDING "Sending '%s' to '%s'"
|
636 | IDS_WTALKAT "@"
|
636 | IDS_WTALKAT "@"
|
637 | IDS_OTALXAT " at "
|
637 | IDS_OTALXAT " at "
|
638 | IDS_TFTP_ERROR_TSIZE "Invalid transfer size"
|
638 | IDS_TFTP_ERROR_TSIZE "Invalid transfer size"
|
639 | IDS_TFTP_ERROR_BSIZE "Invalid block size"
|
639 | IDS_TFTP_ERROR_BSIZE "Invalid block size"
|
640 | IDS_TFTP_ERROR_TOUT "Invalid timeout"
|
640 | IDS_TFTP_ERROR_TOUT "Invalid timeout"
|
641 | IDS_SELECT_TFTPROOT "Select TFTP filesystem root.."
|
641 | IDS_SELECT_TFTPROOT "Select TFTP filesystem root.."
|
642 | IDS_FILTER_WAV "Sound Files (*.wav)|*.wav||"
|
642 | IDS_FILTER_WAV "Sound Files (*.wav)|*.wav||"
|
643 | IDS_TITLE_WAV "Select sound.."
|
643 | IDS_TITLE_WAV "Select sound.."
|
644 | IDS_BOX_CANTBIND "Failed to create listening socket. The port may be in use by another application."
|
644 | IDS_BOX_CANTBIND "Failed to create listening socket. The port may be in use by another application."
|
645 | IDS_NO_XFER_OP "No request type specified."
|
645 | IDS_NO_XFER_OP "No request type specified."
|
646 | IDS_INVALID_IP "Invalid IP address."
|
646 | IDS_INVALID_IP "Invalid IP address."
|
647 | IDS_INVALID_NETMASK "Invalid netmask."
|
647 | IDS_INVALID_NETMASK "Invalid netmask."
|
648 | END
|
648 | END
|
649 |
|
649 |
|
650 | STRINGTABLE DISCARDABLE
|
650 | STRINGTABLE DISCARDABLE
|
651 | BEGIN
|
651 | BEGIN
|
652 | AFX_IDS_APP_TITLE "PUMPKIN"
|
652 | AFX_IDS_APP_TITLE "PUMPKIN"
|
653 | END
|
653 | END
|
654 |
|
654 |
|
655 | STRINGTABLE DISCARDABLE
|
655 | STRINGTABLE DISCARDABLE
|
656 | BEGIN
|
656 | BEGIN
|
657 | IDS_INVALID_RULE "Invalid access rule."
|
657 | IDS_INVALID_RULE "Invalid access rule."
|
658 | IDS_LOG_LOGERROR "Error logging to '%s'"
|
658 | IDS_LOG_LOGERROR "Error logging to '%s'"
|
| |
659 | IDS_TFTP_ERROR_TOOBIG "File is too big, try increasing block size"
|
659 | END
|
660 | END
|
660 |
|
661 |
|
661 | #endif // English (U.S.) resources
|
662 | #endif // English (U.S.) resources
|
662 | /////////////////////////////////////////////////////////////////////////////
|
663 | /////////////////////////////////////////////////////////////////////////////
|
663 |
|
664 |
|
664 |
|
665 |
|
665 |
|
666 |
|
666 | #ifndef APSTUDIO_INVOKED
|
667 | #ifndef APSTUDIO_INVOKED
|
667 | /////////////////////////////////////////////////////////////////////////////
|
668 | /////////////////////////////////////////////////////////////////////////////
|
668 | //
|
669 | //
|
669 | // Generated from the TEXTINCLUDE 3 resource.
|
670 | // Generated from the TEXTINCLUDE 3 resource.
|
670 | //
|
671 | //
|
671 | #define _AFX_NO_SPLITTER_RESOURCES
|
672 | #define _AFX_NO_SPLITTER_RESOURCES
|
672 | #define _AFX_NO_OLE_RESOURCES
|
673 | #define _AFX_NO_OLE_RESOURCES
|
673 | #define _AFX_NO_TRACKER_RESOURCES
|
674 | #define _AFX_NO_TRACKER_RESOURCES
|
674 | #define _AFX_NO_PROPERTY_RESOURCES
|
675 | #define _AFX_NO_PROPERTY_RESOURCES
|
675 |
|
676 |
|
676 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
677 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
677 | #ifdef _WIN32
|
678 | #ifdef _WIN32
|
678 | LANGUAGE 9, 1
|
679 | LANGUAGE 9, 1
|
679 | #pragma code_page(1252)
|
680 | #pragma code_page(1252)
|
680 | #endif
|
681 | #endif
|
681 | #include "res\PumpKIN.rc2" // non-Microsoft Visual C++ edited resources
|
682 | #include "res\PumpKIN.rc2" // non-Microsoft Visual C++ edited resources
|
682 | #include "afxres.rc" // Standard components
|
683 | #include "afxres.rc" // Standard components
|
683 | #endif
|
684 | #endif
|
684 | /////////////////////////////////////////////////////////////////////////////
|
685 | /////////////////////////////////////////////////////////////////////////////
|
685 | #endif // not APSTUDIO_INVOKED
|
686 | #endif // not APSTUDIO_INVOKED
|
686 |
|
687 |
|
|