-rw-r--r-- | help/pumpkin.xml | 6 | ||||
-rw-r--r-- | install/install.cpp | 2 | ||||
-rw-r--r-- | install/install.rc | 10 | ||||
-rwxr-xr-x | pumpkin.rc | 14 |
4 files changed, 18 insertions, 14 deletions
diff --git a/help/pumpkin.xml b/help/pumpkin.xml index 153219a..486ac82 100644 --- a/help/pumpkin.xml +++ b/help/pumpkin.xml | |||
@@ -1,107 +1,111 @@ | |||
1 | <?xml version="1.0"?> | 1 | <?xml version="1.0"?> |
2 | <winhelp> | 2 | <winhelp> |
3 | <topic id="About" title="About PumpKIN" keywords="about"> | 3 | <topic id="About" title="About PumpKIN" keywords="about"> |
4 | <heading scroll="no">About <kin>PumpKIN</kin></heading> | 4 | <heading scroll="no">About <kin>PumpKIN</kin></heading> |
5 | <p><kin>PumpKIN</kin> is a program designed to send and receive files over the net while having <kin href="http://kin.klever.net/T42/">T42</kin> or <product>Wintalk</product> session running using <term>TFTP</term> (<rfc num="1350"/>) protocol. It includes full-functional <term>TFTP</term> server/client so it may be useful for maintaining <a href="http://www.cisco.com/">CISCO</a> routers and other network equipment.</p> | 5 | <p><kin>PumpKIN</kin> is a program designed to send and receive files over the net while having <kin href="http://kin.klever.net/T42/">T42</kin> or <product>Wintalk</product> session running using <term>TFTP</term> (<rfc num="1350"/>) protocol. It includes full-functional <term>TFTP</term> server/client so it may be useful for maintaining <a href="http://www.cisco.com/">CISCO</a> routers and other network equipment.</p> |
6 | <p/> | 6 | <p/> |
7 | <p><b><i>Enjoy!</i></b></p> | 7 | <p><b><i>Enjoy!</i></b></p> |
8 | <license years="1997-2006"/> | 8 | <license years="1997-2011"/> |
9 | <credist/> | 9 | <credist/> |
10 | </topic> | 10 | </topic> |
11 | <topic id="News" title="What's New"> | 11 | <topic id="News" title="What's New"> |
12 | <newsfor version="2.7.3" date="Apr 27th, 2011"> | ||
13 | <ni>Added configuration option to bind to specific ip address</ni> | ||
14 | <ni>Fixed a minor bug that lead to misdiagnosis of the packet from unexpected source</ni> | ||
15 | </newsfor> | ||
12 | <newsfor version="2.7.2" date="October 18th, 2006"> | 16 | <newsfor version="2.7.2" date="October 18th, 2006"> |
13 | <ni>Added rejecting of too large file requests with explicit error message about the block size</ni> | 17 | <ni>Added rejecting of too large file requests with explicit error message about the block size</ni> |
14 | <ni>A bit more elaborate logging</ni> | 18 | <ni>A bit more elaborate logging</ni> |
15 | <ni>Not closing receive socket until the last ACK receved now</ni> | 19 | <ni>Not closing receive socket until the last ACK receved now</ni> |
16 | </newsfor> | 20 | </newsfor> |
17 | <newsfor version="2.7.1" date="March 13th, 2006"> | 21 | <newsfor version="2.7.1" date="March 13th, 2006"> |
18 | <ni>Bugfix release</ni> | 22 | <ni>Bugfix release</ni> |
19 | </newsfor> | 23 | </newsfor> |
20 | <newsfor version="2.7" date="February 28th, 2006"> | 24 | <newsfor version="2.7" date="February 28th, 2006"> |
21 | <ni>Access lists based on request IP address and TFTP opcode for automating access policy</ni> | 25 | <ni>Access lists based on request IP address and TFTP opcode for automating access policy</ni> |
22 | <ni>Possibility to start/stop TFTP server, while keeping client functionality intact</ni> | 26 | <ni>Possibility to start/stop TFTP server, while keeping client functionality intact</ni> |
23 | <ni>Logging to file</ni> | 27 | <ni>Logging to file</ni> |
24 | <ni>Resizable main window</ni> | 28 | <ni>Resizable main window</ni> |
25 | </newsfor> | 29 | </newsfor> |
26 | <newsfor version="2.6" date="August 6th, 2005"> | 30 | <newsfor version="2.6" date="August 6th, 2005"> |
27 | <ni>more robust solution to the backslash/slash dilemma</ni> | 31 | <ni>more robust solution to the backslash/slash dilemma</ni> |
28 | <ni>A bit more elaborate error reporting</ni> | 32 | <ni>A bit more elaborate error reporting</ni> |
29 | <ni>Fixed uninstall procedure so that it works on XP</ni> | 33 | <ni>Fixed uninstall procedure so that it works on XP</ni> |
30 | </newsfor> | 34 | </newsfor> |
31 | <newsfor version="2.5" date="July 11th, 2004"> | 35 | <newsfor version="2.5" date="July 11th, 2004"> |
32 | <ni>Change of <a href="#About">license</a> and opening the source.</ni> | 36 | <ni>Change of <a href="#About">license</a> and opening the source.</ni> |
33 | <ni>Minor cosmetic changes</ni> | 37 | <ni>Minor cosmetic changes</ni> |
34 | </newsfor> | 38 | </newsfor> |
35 | <newsfor version="2.0" date="June 13th, 1998"> | 39 | <newsfor version="2.0" date="June 13th, 1998"> |
36 | <ni>Sounds customization. Now you can customize <kin>PumpKIN</kin> bells and whistles or turn them off completely.</ni> | 40 | <ni>Sounds customization. Now you can customize <kin>PumpKIN</kin> bells and whistles or turn them off completely.</ni> |
37 | <ni>Previous version of <kin>PumpKIN</kin> had a bug causing it to misbehave when you're requesting file from remote <term>tftp</term> server using <b>IP Address</b> (as opposed to <b>hostname</b>).</ni> | 41 | <ni>Previous version of <kin>PumpKIN</kin> had a bug causing it to misbehave when you're requesting file from remote <term>tftp</term> server using <b>IP Address</b> (as opposed to <b>hostname</b>).</ni> |
38 | <ni>Typo causing <kin>PumpKIN</kin> to log outgoing request in reverse (i.e. <i>Requesting 'hostname' from 'filename'</i>) fixed.</ni> | 42 | <ni>Typo causing <kin>PumpKIN</kin> to log outgoing request in reverse (i.e. <i>Requesting 'hostname' from 'filename'</i>) fixed.</ni> |
39 | <ni>Something else that you may not notice and I can not remember.</ni> | 43 | <ni>Something else that you may not notice and I can not remember.</ni> |
40 | </newsfor> | 44 | </newsfor> |
41 | <newsfor version="1.5" date="February 12th, 1998"> | 45 | <newsfor version="1.5" date="February 12th, 1998"> |
42 | <ni>Transfer resumes. No checking on file contents is done, so it's up to you to decide whether you want to start transmission from the beginning or resume unfinished transfer.</ni> | 46 | <ni>Transfer resumes. No checking on file contents is done, so it's up to you to decide whether you want to start transmission from the beginning or resume unfinished transfer.</ni> |
43 | <ni>Support for <b>block size</b>, <b>trasnfer size</b> and <b>transfer timeout</b> options as described in <rfc num="1782"/>, <rfc num="1783"/> and <rfc num="1784"/>. I'm not sure if there are any other <term>TFTP</term> implementations supporting this, but at least it makes sense if you use <kin>PumpKIN</kin> on both ends.</ni> | 47 | <ni>Support for <b>block size</b>, <b>trasnfer size</b> and <b>transfer timeout</b> options as described in <rfc num="1782"/>, <rfc num="1783"/> and <rfc num="1784"/>. I'm not sure if there are any other <term>TFTP</term> implementations supporting this, but at least it makes sense if you use <kin>PumpKIN</kin> on both ends.</ni> |
44 | <ni>New Install program</ni> | 48 | <ni>New Install program</ni> |
45 | </newsfor> | 49 | </newsfor> |
46 | </topic> | 50 | </topic> |
47 | <topic id="Using" title="Using PumpKIN"> | 51 | <topic id="Using" title="Using PumpKIN"> |
48 | <heading scroll="no">Using <kin>PumpKIN</kin></heading> | 52 | <heading scroll="no">Using <kin>PumpKIN</kin></heading> |
49 | <p>This is a simple program for file exchange between two parties. It allows you to send files over the network to your party while having a <kin href="http://kin.klever.net/T42/">T42</kin> or <product>Wintalk</product> conversation. It uses open sessions to determine IP address of your party. Also you may use it as a <term>TFTP</term> client/server by itself. To get/put files from/to <term>TFTP</term> server you need to enter host name/IP address manually in the <a href="#Request">Request Dialog</a>.</p> | 53 | <p>This is a simple program for file exchange between two parties. It allows you to send files over the network to your party while having a <kin href="http://kin.klever.net/T42/">T42</kin> or <product>Wintalk</product> conversation. It uses open sessions to determine IP address of your party. Also you may use it as a <term>TFTP</term> client/server by itself. To get/put files from/to <term>TFTP</term> server you need to enter host name/IP address manually in the <a href="#Request">Request Dialog</a>.</p> |
50 | <p>To Abort transfer(s) currently in progress - select transfer(s) you want to terminate in the list and click <b>Abort xfer</b> button.</p> | 54 | <p>To Abort transfer(s) currently in progress - select transfer(s) you want to terminate in the list and click <b>Abort xfer</b> button.</p> |
51 | <p>You may want to hide <kin>PumpKIN</kin> window and leave it as a tray icon only. Just click the <image source="pumpkin.bmp"/> icon in the tray or simply close the window.</p> | 55 | <p>You may want to hide <kin>PumpKIN</kin> window and leave it as a tray icon only. Just click the <image source="pumpkin.bmp"/> icon in the tray or simply close the window.</p> |
52 | <p>Use <a href="#Options">Options</a> button to set <kin>PumpKIN</kin> options.</p> | 56 | <p>Use <a href="#Options">Options</a> button to set <kin>PumpKIN</kin> options.</p> |
53 | <p>You can start and stop <kin>PumpKIN</kin>'s <term>TFTP</term> server by checking and unchecking the <b>Server is running</b> checkbox in the lower right corner of main <kin>PumpKIN</kin> window.</p> | 57 | <p>You can start and stop <kin>PumpKIN</kin>'s <term>TFTP</term> server by checking and unchecking the <b>Server is running</b> checkbox in the lower right corner of main <kin>PumpKIN</kin> window.</p> |
54 | </topic> | 58 | </topic> |
55 | <topic id="ConfirmRRQ" title="Confirm Read Request Dialog"> | 59 | <topic id="ConfirmRRQ" title="Confirm Read Request Dialog"> |
56 | <heading scroll="no">Confirm Read Request Dialog</heading> | 60 | <heading scroll="no">Confirm Read Request Dialog</heading> |
57 | <p>When the file is requested from your <term>TFTP</term> server you may choose to <b>Grant Access</b> to this file or to <b>Deny Access</b>. If you hesitate to answer for <a href="#ConfirmationTimeout"><b>Confirmation timeout</b></a> (<i>default - 30 seconds</i>) <kin>PumpKIN</kin> defaults to denial of all requests.</p> | 61 | <p>When the file is requested from your <term>TFTP</term> server you may choose to <b>Grant Access</b> to this file or to <b>Deny Access</b>. If you hesitate to answer for <a href="#ConfirmationTimeout"><b>Confirmation timeout</b></a> (<i>default - 30 seconds</i>) <kin>PumpKIN</kin> defaults to denial of all requests.</p> |
58 | </topic> | 62 | </topic> |
59 | <topic id="ConfirmWRQ" title="Confirm Write Request Dialog"> | 63 | <topic id="ConfirmWRQ" title="Confirm Write Request Dialog"> |
60 | <heading scroll="no">Confirm Write Request Dialog</heading> | 64 | <heading scroll="no">Confirm Write Request Dialog</heading> |
61 | <p>Whenever your party sends you a file you have always a choice to accept it or not. You can also save the file under a different name by choosing the <b>Rename</b> option. If you already have file with such name you may chose to <b>resume</b> transfer. No checking on file contents is done. This option may or may not work depending on remote implementation of protocol. It does work if you use <kin>PumpKIN</kin> on both ends. If you are still unsure for <a href="#ConfirmationTimeOut"><b>Confirmation timeout</b></a> (<i>default - 30 seconds</i>) <kin>PumpKIN</kin> will make safe decision for you (deny).</p> | 65 | <p>Whenever your party sends you a file you have always a choice to accept it or not. You can also save the file under a different name by choosing the <b>Rename</b> option. If you already have file with such name you may chose to <b>resume</b> transfer. No checking on file contents is done. This option may or may not work depending on remote implementation of protocol. It does work if you use <kin>PumpKIN</kin> on both ends. If you are still unsure for <a href="#ConfirmationTimeOut"><b>Confirmation timeout</b></a> (<i>default - 30 seconds</i>) <kin>PumpKIN</kin> will make safe decision for you (deny).</p> |
62 | </topic> | 66 | </topic> |
63 | <topic id="Request" title="Request Dialog"> | 67 | <topic id="Request" title="Request Dialog"> |
64 | <heading scroll="no">Request Dialog</heading> | 68 | <heading scroll="no">Request Dialog</heading> |
65 | <p>Request dialog is aimed to let you form read or write request. You may set the following options:</p> | 69 | <p>Request dialog is aimed to let you form read or write request. You may set the following options:</p> |
66 | <ul> | 70 | <ul> |
67 | <li><b>Local File</b> - You can change the name of the file you're sending (or destination in case you're receiving) right here. You may also use <b>Browse</b> button to select the file.</li> | 71 | <li><b>Local File</b> - You can change the name of the file you're sending (or destination in case you're receiving) right here. You may also use <b>Browse</b> button to select the file.</li> |
68 | <li><b>Remote File</b> Specifies the name of file on the remote host you're requesting (in case of read request) or the name of file you want your file to appear as (in case of write request).</li> | 72 | <li><b>Remote File</b> Specifies the name of file on the remote host you're requesting (in case of read request) or the name of file you want your file to appear as (in case of write request).</li> |
69 | <li><b>Remote Host</b> is your party's host or <term>TFTP</term> server you're requesting file from/sending file to. To refresh the list of your talk windows use <b>REFRESH</b> button.</li> | 73 | <li><b>Remote Host</b> is your party's host or <term>TFTP</term> server you're requesting file from/sending file to. To refresh the list of your talk windows use <b>REFRESH</b> button.</li> |
70 | <li><b>Type</b> is the type of transfer as defined in <rfc num="1350"/>. Doesn't mean much, really. Defined types are '<i>octet</i>' or '<i>netascii</i>'. Default is '<i>octet</i>'.</li> | 74 | <li><b>Type</b> is the type of transfer as defined in <rfc num="1350"/>. Doesn't mean much, really. Defined types are '<i>octet</i>' or '<i>netascii</i>'. Default is '<i>octet</i>'.</li> |
71 | <li><b>Block Size</b> - Use this block size if remote is <rfc num="1783"/>-compliant. If remote doesn't support this option <kin>PumpKIN</kin> will fallback to 512 bytes per block.</li> | 75 | <li><b>Block Size</b> - Use this block size if remote is <rfc num="1783"/>-compliant. If remote doesn't support this option <kin>PumpKIN</kin> will fallback to 512 bytes per block.</li> |
72 | </ul> | 76 | </ul> |
73 | </topic> | 77 | </topic> |
74 | <topic id="Options" title="Options"> | 78 | <topic id="Options" title="Options"> |
75 | <heading scroll="no">Options</heading> | 79 | <heading scroll="no">Options</heading> |
76 | <p><kin>PumpKIN</kin> options property sheet consists of two tabs. For more information see <a href="#NetworkOptions"><b>Network</b></a> and <a herf="#ServerOptions"><b>Server</b></a> options.</p> | 80 | <p><kin>PumpKIN</kin> options property sheet consists of two tabs. For more information see <a href="#NetworkOptions"><b>Network</b></a> and <a herf="#ServerOptions"><b>Server</b></a> options.</p> |
77 | </topic> | 81 | </topic> |
78 | <topic id="NetworkOptions" title="Network Options"> | 82 | <topic id="NetworkOptions" title="Network Options"> |
79 | <heading scroll="no">Network Options</heading> | 83 | <heading scroll="no">Network Options</heading> |
80 | <ul> | 84 | <ul> |
81 | <li><b>UDP Ports</b> | 85 | <li><b>UDP Ports</b> |
82 | <ul> | 86 | <ul> |
83 | <li><b>Listen for incoming connections on port</b> - specifies the port we're listening to. The default as defined in <rfc num="1350"/> is 69.</li> | 87 | <li><b>Listen for incoming connections on port</b> - specifies the port we're listening to. The default as defined in <rfc num="1350"/> is 69.</li> |
84 | <li><b>ip address</b> - ip address to listen to.</li> | 88 | <li><b>ip address</b> - ip address to listen to.</li> |
85 | <li><b>Send outgoing requests to port</b> - specifies the port we're going to send all requests to.</li> | 89 | <li><b>Send outgoing requests to port</b> - specifies the port we're going to send all requests to.</li> |
86 | </ul> | 90 | </ul> |
87 | </li> | 91 | </li> |
88 | <li><b>Default Connection timeout</b> - if there's no activity for specified time, transfer is considered to be dead and terminated. <kin>PumpKIN</kin> tries to propagate this value to remote as described in <rfc num="1782"/> and <rfc num="1784"/> if possible.</li> | 92 | <li><b>Default Connection timeout</b> - if there's no activity for specified time, transfer is considered to be dead and terminated. <kin>PumpKIN</kin> tries to propagate this value to remote as described in <rfc num="1782"/> and <rfc num="1784"/> if possible.</li> |
89 | <li><b>Default Block Size</b> - <kin>PumpKIN</kin> tries to negotiate block size with remote using this value unless specified explicitly in request. If remote doesn't support <rfc num="1782"/> and <rfc num="1783"/> <kin>PumpKIN</kin> falls back to 512 bytes per block.</li> | 93 | <li><b>Default Block Size</b> - <kin>PumpKIN</kin> tries to negotiate block size with remote using this value unless specified explicitly in request. If remote doesn't support <rfc num="1782"/> and <rfc num="1783"/> <kin>PumpKIN</kin> falls back to 512 bytes per block.</li> |
90 | </ul> | 94 | </ul> |
91 | </topic> | 95 | </topic> |
92 | <topic id="ServerOptions" title="Server Options"> | 96 | <topic id="ServerOptions" title="Server Options"> |
93 | <heading scroll="no">Server Options</heading> | 97 | <heading scroll="no">Server Options</heading> |
94 | <ul> | 98 | <ul> |
95 | <li><b>TFTP Filesystem root</b> - Specifies the location of files you're transmitting or where to start looking for them from. Defaults to the directory you start <kin>PumpKIN</kin> for the first time from.</li> | 99 | <li><b>TFTP Filesystem root</b> - Specifies the location of files you're transmitting or where to start looking for them from. Defaults to the directory you start <kin>PumpKIN</kin> for the first time from.</li> |
96 | <li><b>Allow access to subdirectories</b> - specifies whether you want allow access to the whole subtree of <b>TFTP Root</b> or only to the directory itself.</li> | 100 | <li><b>Allow access to subdirectories</b> - specifies whether you want allow access to the whole subtree of <b>TFTP Root</b> or only to the directory itself.</li> |
97 | <li><b>Read Request Behavior</b> - You may choose to automatically agree to give all files requested, to be prompted to confirm these operations, or to deny all requests as if you're not even here.</li> | 101 | <li><b>Read Request Behavior</b> - You may choose to automatically agree to give all files requested, to be prompted to confirm these operations, or to deny all requests as if you're not even here.</li> |
98 | <li><b>Write Request Behavior</b> - You may chose to <b>take all files</b> (<i>not recommended</i>), to <b>prompt only if file exists already</b>, <b>Always prompt</b> or <b>Deny all requests</b>.</li> | 102 | <li><b>Write Request Behavior</b> - You may chose to <b>take all files</b> (<i>not recommended</i>), to <b>prompt only if file exists already</b>, <b>Always prompt</b> or <b>Deny all requests</b>.</li> |
99 | <li><a name="ConfirmationTimeOut"/><b>Confirmation timeout</b> - this is the time <kin>PumpKIN</kin> will wait for you to accept or deny request before it will give up and take default action which is always deny.</li> | 103 | <li><a name="ConfirmationTimeOut"/><b>Confirmation timeout</b> - this is the time <kin>PumpKIN</kin> will wait for you to accept or deny request before it will give up and take default action which is always deny.</li> |
100 | <li><b>Log file</b> - If you want to enable logging to file, set the destination file here.</li> | 104 | <li><b>Log file</b> - If you want to enable logging to file, set the destination file here.</li> |
101 | </ul> | 105 | </ul> |
102 | </topic> | 106 | </topic> |
103 | <topic id="SoundsOptions" title="Sounds Options"> | 107 | <topic id="SoundsOptions" title="Sounds Options"> |
104 | <heading scroll="no">Sounds</heading> | 108 | <heading scroll="no">Sounds</heading> |
105 | <p>You can customize <kin>PumpKIN</kin> sounds notifications here. There are three customizable sounds defined - <b>Incoming request</b>, which notifies you about incoming request prompt if you're set to be prompted whenever incoming request occurs. <b>xfer Aborted</b> - which happens to sound every time transfer is interrupted for whatever reason - time out, explicit kill, denied access, etc. <b>xfer Finished</b> means that your file was successfully transmitted.</p> | 109 | <p>You can customize <kin>PumpKIN</kin> sounds notifications here. There are three customizable sounds defined - <b>Incoming request</b>, which notifies you about incoming request prompt if you're set to be prompted whenever incoming request occurs. <b>xfer Aborted</b> - which happens to sound every time transfer is interrupted for whatever reason - time out, explicit kill, denied access, etc. <b>xfer Finished</b> means that your file was successfully transmitted.</p> |
106 | <p>You can select any <b>.wav</b> file or one of the predefined sounds from the dropdown list.</p> | 110 | <p>You can select any <b>.wav</b> file or one of the predefined sounds from the dropdown list.</p> |
107 | </topic> | 111 | </topic> |
diff --git a/install/install.cpp b/install/install.cpp index 58ed997..ea27a2c 100644 --- a/install/install.cpp +++ b/install/install.cpp | |||
@@ -1,74 +1,74 @@ | |||
1 | #include "resource.h" | 1 | #include "resource.h" |
2 | #include "../shared-code/install.h" | 2 | #include "../shared-code/install.h" |
3 | 3 | ||
4 | #define VERSION "2.7.2" | 4 | #define VERSION "2.7.3" |
5 | #defineKINAME "PumpKIN " VERSION | 5 | #defineKINAME "PumpKIN " VERSION |
6 | #define SKINAME "PumpKIN" | 6 | #define SKINAME "PumpKIN" |
7 | 7 | ||
8 | BOOL Install(void) | 8 | BOOL Install(void) |
9 | { | 9 | { |
10 | STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path"); | 10 | STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path"); |
11 | STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath"); | 11 | STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath"); |
12 | LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); | 12 | LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); |
13 | STRING path = REQUESTPATH(" " KINAME,"\nEnter destination path:",qPath); | 13 | STRING path = REQUESTPATH(" " KINAME,"\nEnter destination path:",qPath); |
14 | if(!path) | 14 | if(!path) |
15 | return NULL; | 15 | return NULL; |
16 | 16 | ||
17 | #ifdefK_ANNED | 17 | #ifdefK_ANNED |
18 | STRING sysDir(_MAX_PATH); | 18 | STRING sysDir(_MAX_PATH); |
19 | GetSystemDirectory(sysDir,_MAX_PATH); | 19 | GetSystemDirectory(sysDir,_MAX_PATH); |
20 | INSTALLFILE("mfc42.dl_",sysDir,"mfc42.dll"); | 20 | INSTALLFILE("mfc42.dl_",sysDir,"mfc42.dll"); |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | MAKE_PATH(path); | 23 | MAKE_PATH(path); |
24 | STRING shortPath = GET_SHORT_PATH(path); | 24 | STRING shortPath = GET_SHORT_PATH(path); |
25 | if(!shortPath){ | 25 | if(!shortPath){ |
26 | MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK); | 26 | MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK); |
27 | return FALSE; | 27 | return FALSE; |
28 | } | 28 | } |
29 | 29 | ||
30 | if(!( | 30 | if(!( |
31 | INSTALLFILE(SKINAME ".ex_",path,SKINAME ".exe") && | 31 | INSTALLFILE(SKINAME ".ex_",path,SKINAME ".exe") && |
32 | INSTALLFILE(SKINAME ".hl_",path,SKINAME ".hlp") && | 32 | INSTALLFILE(SKINAME ".hl_",path,SKINAME ".hlp") && |
33 | INSTALLFILE(SKINAME ".cn_",path,SKINAME ".cnt") | 33 | INSTALLFILE(SKINAME ".cn_",path,SKINAME ".cnt") |
34 | )){ | 34 | )){ |
35 | MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK); | 35 | MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK); |
36 | return FALSE; | 36 | return FALSE; |
37 | } | 37 | } |
38 | ADDMENU("Klever Group",SKINAME,path, SKINAME ".exe"); | 38 | ADDMENU("Klever Group",SKINAME,path, SKINAME ".exe"); |
39 | 39 | ||
40 | strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path",path); | 40 | strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path",path); |
41 | strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath",path); | 41 | strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath",path); |
42 | 42 | ||
43 | FILE* inf=CREATE_INF_FILE(path,SKINAME ".INF"); | 43 | FILE* inf=CREATE_INF_FILE(path,SKINAME ".INF"); |
44 | if(!inf){ | 44 | if(!inf){ |
45 | MessageBox(NULL,"Failed to install " KINAME,NULL,MB_ICONERROR|MB_OK); | 45 | MessageBox(NULL,"Failed to install " KINAME,NULL,MB_ICONERROR|MB_OK); |
46 | return FALSE; | 46 | return FALSE; |
47 | } | 47 | } |
48 | INF_FILE_HEADER(inf); | 48 | INF_FILE_HEADER(inf); |
49 | INF_FILE_SECTION(inf,"Uninstall"); | 49 | INF_FILE_SECTION(inf,"Uninstall"); |
50 | fprintf(inf,"AddReg=kFiles\nDelReg=kReg\nUpdateInis=kMenu\n"); | 50 | fprintf(inf,"AddReg=kFiles\nDelReg=kReg\nUpdateInis=kMenu\n"); |
51 | INF_FILE_SECTION(inf,"kFiles"); | 51 | INF_FILE_SECTION(inf,"kFiles"); |
52 | INF_REMOVE_ROOT(inf,SKINAME "Files",shortPath); | 52 | INF_REMOVE_ROOT(inf,SKINAME "Files",shortPath); |
53 | INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".exe"); | 53 | INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".exe"); |
54 | INF_REMOVE_HELP_FILE(inf,SKINAME "Files",SKINAME); | 54 | INF_REMOVE_HELP_FILE(inf,SKINAME "Files",SKINAME); |
55 | INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".inf"); | 55 | INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".inf"); |
56 | INF_FILE_SECTION(inf,"kReg"); | 56 | INF_FILE_SECTION(inf,"kReg"); |
57 | INF_UNINSTALL_REG(inf,SKINAME); | 57 | INF_UNINSTALL_REG(inf,SKINAME); |
58 | INF_FILE_SECTION(inf,"kMenu"); | 58 | INF_FILE_SECTION(inf,"kMenu"); |
59 | INF_MENU_GROUP(inf,1,"Klever Group"); | 59 | INF_MENU_GROUP(inf,1,"Klever Group"); |
60 | INF_MENU_ITEM(inf,1,SKINAME); | 60 | INF_MENU_ITEM(inf,1,SKINAME); |
61 | fclose(inf); | 61 | fclose(inf); |
62 | 62 | ||
63 | REG_UNINSTALL_COMMAND(SKINAME,"Klever " KINAME,shortPath,SKINAME ".INF","Uninstall"); | 63 | REG_UNINSTALL_COMMAND(SKINAME,"Klever " KINAME,shortPath,SKINAME ".INF","Uninstall"); |
64 | REG_UNINSTALL_ICON(SKINAME,path,SKINAME ".exe",0); | 64 | REG_UNINSTALL_ICON(SKINAME,path,SKINAME ".exe",0); |
65 | REG_UNINSTALL_COMMENT(SKINAME,"Klever PumpKIN"); | 65 | REG_UNINSTALL_COMMENT(SKINAME,"Klever PumpKIN"); |
66 | REG_UNINSTALL_VERSION(SKINAME,VERSION); | 66 | REG_UNINSTALL_VERSION(SKINAME,VERSION); |
67 | REG_UNINSTALL_LOCATION(SKINAME,path); | 67 | REG_UNINSTALL_LOCATION(SKINAME,path); |
68 | REG_UNINSTALL_PUBLISHER(SKINAME,"Klever Group"); | 68 | REG_UNINSTALL_PUBLISHER(SKINAME,"Klever Group"); |
69 | REG_UNINSTALL_URLS(SKINAME,"http://www.klever.net/","http://kin.klever.net/pumpkin/"); | 69 | REG_UNINSTALL_URLS(SKINAME,"http://www.klever.net/","http://kin.klever.net/pumpkin/"); |
70 | 70 | ||
71 | MessageBox(NULL,KINAME " installed successfully, you may now run it from 'Programs/Klever Group' menu or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK); | 71 | MessageBox(NULL,KINAME " installed successfully, you may now run it from 'Programs/Klever Group' menu or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK); |
72 | 72 | ||
73 | return TRUE; | 73 | return TRUE; |
74 | } | 74 | } |
diff --git a/install/install.rc b/install/install.rc index 6967799..2dce211 100644 --- a/install/install.rc +++ b/install/install.rc | |||
@@ -38,145 +38,145 @@ BEGIN | |||
38 | PUSHBUTTON "Cancel",IDCANCEL,143,53,50,14,BS_CENTER | BS_VCENTER | | 38 | PUSHBUTTON "Cancel",IDCANCEL,143,53,50,14,BS_CENTER | BS_VCENTER | |
39 | BS_NOTIFY | BS_FLAT,WS_EX_DLGMODALFRAME | 39 | BS_NOTIFY | BS_FLAT,WS_EX_DLGMODALFRAME |
40 | CONTROL "Animate1",IDC_DISKS,"SysAnimate32",ACS_TRANSPARENT | | 40 | CONTROL "Animate1",IDC_DISKS,"SysAnimate32",ACS_TRANSPARENT | |
41 | ACS_AUTOPLAY | WS_TABSTOP,161,7,32,32 | 41 | ACS_AUTOPLAY | WS_TABSTOP,161,7,32,32 |
42 | LTEXT "",IDC_STATE,7,7,150,32,SS_NOPREFIX | SS_NOTIFY | 42 | LTEXT "",IDC_STATE,7,7,150,32,SS_NOPREFIX | SS_NOTIFY |
43 | CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",0x0,7,45, | 43 | CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",0x0,7,45, |
44 | 186,7,WS_EX_DLGMODALFRAME | 44 | 186,7,WS_EX_DLGMODALFRAME |
45 | END | 45 | END |
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | IDD_PATH DIALOGEX 0, 0, 255, 73 | 48 | IDD_PATH DIALOGEX 0, 0, 255, 73 |
49 | STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | WS_POPUP | | 49 | STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | WS_POPUP | |
50 | WS_VISIBLE | WS_CAPTION | 50 | WS_VISIBLE | WS_CAPTION |
51 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE | 51 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE |
52 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | 52 | FONT 8, "MS Sans Serif", 0, 0, 0x1 |
53 | BEGIN | 53 | BEGIN |
54 | LTEXT "",IDC_PROMPT,7,7,241,30 | 54 | LTEXT "",IDC_PROMPT,7,7,241,30 |
55 | EDITTEXT IDC_PATH,7,37,195,12,ES_AUTOHSCROLL | 55 | EDITTEXT IDC_PATH,7,37,195,12,ES_AUTOHSCROLL |
56 | PUSHBUTTON "B&rowse..",IDC_BROWSE,208,37,40,12 | 56 | PUSHBUTTON "B&rowse..",IDC_BROWSE,208,37,40,12 |
57 | DEFPUSHBUTTON "OK",IDOK,69,52,50,14 | 57 | DEFPUSHBUTTON "OK",IDOK,69,52,50,14 |
58 | PUSHBUTTON "Cancel",IDCANCEL,135,52,50,14 | 58 | PUSHBUTTON "Cancel",IDCANCEL,135,52,50,14 |
59 | END | 59 | END |
60 | 60 | ||
61 | 61 | ||
62 | ///////////////////////////////////////////////////////////////////////////// | 62 | ///////////////////////////////////////////////////////////////////////////// |
63 | // | 63 | // |
64 | // DESIGNINFO | 64 | // DESIGNINFO |
65 | // | 65 | // |
66 | 66 | ||
67 | #ifdef APSTUDIO_INVOKED | 67 | #ifdef APSTUDIO_INVOKED |
68 | GUIDELINES DESIGNINFO DISCARDABLE | 68 | GUIDELINES DESIGNINFO DISCARDABLE |
69 | BEGIN | 69 | BEGIN |
70 | "IDD_INSTALLING$(FALSE)", DIALOG | 70 | "IDD_INSTALLING$(FALSE)", DIALOG |
71 | BEGIN | 71 | BEGIN |
72 | LEFTMARGIN, 7 | 72 | LEFTMARGIN, 7 |
73 | RIGHTMARGIN, 193 | 73 | RIGHTMARGIN, 193 |
74 | TOPMARGIN, 7 | 74 | TOPMARGIN, 7 |
75 | BOTTOMMARGIN, 67 | 75 | BOTTOMMARGIN, 67 |
76 | HORZGUIDE, 39 | 76 | HORZGUIDE, 39 |
77 | END | 77 | END |
78 | 78 | ||
79 | IDD_PATH, DIALOG | 79 | IDD_PATH, DIALOG |
80 | BEGIN | 80 | BEGIN |
81 | LEFTMARGIN, 7 | 81 | LEFTMARGIN, 7 |
82 | RIGHTMARGIN, 248 | 82 | RIGHTMARGIN, 248 |
83 | VERTGUIDE, 202 | 83 | VERTGUIDE, 202 |
84 | VERTGUIDE, 208 | 84 | VERTGUIDE, 208 |
85 | TOPMARGIN, 7 | 85 | TOPMARGIN, 7 |
86 | BOTTOMMARGIN, 66 | 86 | BOTTOMMARGIN, 66 |
87 | HORZGUIDE, 37 | 87 | HORZGUIDE, 37 |
88 | END | 88 | END |
89 | END | 89 | END |
90 | #endif // APSTUDIO_INVOKED | 90 | #endif // APSTUDIO_INVOKED |
91 | 91 | ||
92 | 92 | ||
93 | #ifdef APSTUDIO_INVOKED | 93 | #ifdef APSTUDIO_INVOKED |
94 | ///////////////////////////////////////////////////////////////////////////// | 94 | ///////////////////////////////////////////////////////////////////////////// |
95 | // | 95 | // |
96 | // TEXTINCLUDE | 96 | // TEXTINCLUDE |
97 | // | 97 | // |
98 | 98 | ||
99 | 1 TEXTINCLUDE DISCARDABLE | 99 | 1 TEXTINCLUDE DISCARDABLE |
100 | BEGIN | 100 | BEGIN |
101 | "resource.h\0" | 101 | "resource.h\0" |
102 | END | 102 | END |
103 | 103 | ||
104 | 2 TEXTINCLUDE DISCARDABLE | 104 | 2 TEXTINCLUDE DISCARDABLE |
105 | BEGIN | 105 | BEGIN |
106 | "#include ""afxres.h""\r\n" | 106 | "#include ""afxres.h""\r\n" |
107 | "\0" | 107 | "\0" |
108 | END | 108 | END |
109 | 109 | ||
110 | 3 TEXTINCLUDE DISCARDABLE | 110 | 3 TEXTINCLUDE DISCARDABLE |
111 | BEGIN | 111 | BEGIN |
112 | "#include ""custom.rch""\0" | 112 | "#include ""custom.rch""\0" |
113 | END | 113 | END |
114 | 114 | ||
115 | #endif // APSTUDIO_INVOKED | 115 | #endif // APSTUDIO_INVOKED |
116 | 116 | ||
117 | 117 | ||
118 | ///////////////////////////////////////////////////////////////////////////// | 118 | ///////////////////////////////////////////////////////////////////////////// |
119 | // | 119 | // |
120 | // Icon | 120 | // Icon |
121 | // | 121 | // |
122 | 122 | ||
123 | // Icon with lowest ID value placed first to ensure application icon | 123 | // Icon with lowest ID value placed first to ensure application icon |
124 | // remains consistent on all systems. | 124 | // remains consistent on all systems. |
125 | IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico" | 125 | IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico" |
126 | 126 | ||
127 | #ifndef _MAC | 127 | #ifndef _MAC |
128 | ///////////////////////////////////////////////////////////////////////////// | 128 | ///////////////////////////////////////////////////////////////////////////// |
129 | // | 129 | // |
130 | // Version | 130 | // Version |
131 | // | 131 | // |
132 | 132 | ||
133 | VS_VERSION_INFO VERSIONINFO | 133 | VS_VERSION_INFO VERSIONINFO |
134 | FILEVERSION 2,7,2,0 | 134 | FILEVERSION 2,7,3,0 |
135 | PRODUCTVERSION 2,7,2,0 | 135 | PRODUCTVERSION 2,7,3,0 |
136 | FILEFLAGSMASK 0x3fL | 136 | FILEFLAGSMASK 0x3fL |
137 | #ifdef _DEBUG | 137 | #ifdef _DEBUG |
138 | FILEFLAGS 0x1L | 138 | FILEFLAGS 0x1L |
139 | #else | 139 | #else |
140 | FILEFLAGS 0x0L | 140 | FILEFLAGS 0x0L |
141 | #endif | 141 | #endif |
142 | FILEOS 0x40004L | 142 | FILEOS 0x40004L |
143 | FILETYPE 0x1L | 143 | FILETYPE 0x1L |
144 | FILESUBTYPE 0x0L | 144 | FILESUBTYPE 0x0L |
145 | BEGIN | 145 | BEGIN |
146 | BLOCK "StringFileInfo" | 146 | BLOCK "StringFileInfo" |
147 | BEGIN | 147 | BEGIN |
148 | BLOCK "040904b0" | 148 | BLOCK "040904b0" |
149 | BEGIN | 149 | BEGIN |
150 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" | 150 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" |
151 | VALUE "FileDescription", "INSTALL: PumpKIN, tftp client/daemon\0" | 151 | VALUE "FileDescription", "INSTALL: PumpKIN, tftp client/daemon\0" |
152 | VALUE "FileVersion", "2, 7, 2, 0\0" | 152 | VALUE "FileVersion", "2, 7, 3, 0\0" |
153 | VALUE "InternalName", "INSTALL\0" | 153 | VALUE "InternalName", "INSTALL\0" |
154 | VALUE "LegalCopyright", "Copyright © 1997-2006 Klever Group (http://www.klever.net/)\0" | 154 | VALUE "LegalCopyright", "Copyright © 1997-2011 Klever Group (http://www.klever.net/)\0" |
155 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" | 155 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" |
156 | VALUE "OriginalFilename", "INSTALL.EXE\0" | 156 | VALUE "OriginalFilename", "INSTALL.EXE\0" |
157 | VALUE "ProductName", "PumpKIN\0" | 157 | VALUE "ProductName", "PumpKIN\0" |
158 | VALUE "ProductVersion", "2, 7, 2, 0\0" | 158 | VALUE "ProductVersion", "2, 7, 3, 0\0" |
159 | END | 159 | END |
160 | END | 160 | END |
161 | BLOCK "VarFileInfo" | 161 | BLOCK "VarFileInfo" |
162 | BEGIN | 162 | BEGIN |
163 | VALUE "Translation", 0x409, 1200 | 163 | VALUE "Translation", 0x409, 1200 |
164 | END | 164 | END |
165 | END | 165 | END |
166 | 166 | ||
167 | #endif // !_MAC | 167 | #endif // !_MAC |
168 | 168 | ||
169 | #endif // English (U.S.) resources | 169 | #endif // English (U.S.) resources |
170 | ///////////////////////////////////////////////////////////////////////////// | 170 | ///////////////////////////////////////////////////////////////////////////// |
171 | 171 | ||
172 | 172 | ||
173 | 173 | ||
174 | #ifndef APSTUDIO_INVOKED | 174 | #ifndef APSTUDIO_INVOKED |
175 | ///////////////////////////////////////////////////////////////////////////// | 175 | ///////////////////////////////////////////////////////////////////////////// |
176 | // | 176 | // |
177 | // Generated from the TEXTINCLUDE 3 resource. | 177 | // Generated from the TEXTINCLUDE 3 resource. |
178 | // | 178 | // |
179 | #include "custom.rch" | 179 | #include "custom.rch" |
180 | ///////////////////////////////////////////////////////////////////////////// | 180 | ///////////////////////////////////////////////////////////////////////////// |
181 | #endif // not APSTUDIO_INVOKED | 181 | #endif // not APSTUDIO_INVOKED |
182 | 182 | ||
@@ -1,186 +1,186 @@ | |||
1 | //Microsoft Developer Studio generated resource script. | 1 | //Microsoft Developer Studio generated resource script. |
2 | // | 2 | // |
3 | #include "resource.h" | 3 | #include "resource.h" |
4 | 4 | ||
5 | #define APSTUDIO_READONLY_SYMBOLS | 5 | #define APSTUDIO_READONLY_SYMBOLS |
6 | ///////////////////////////////////////////////////////////////////////////// | 6 | ///////////////////////////////////////////////////////////////////////////// |
7 | // | 7 | // |
8 | // Generated from the TEXTINCLUDE 2 resource. | 8 | // Generated from the TEXTINCLUDE 2 resource. |
9 | // | 9 | // |
10 | #include "afxres.h" | 10 | #include "afxres.h" |
11 | 11 | ||
12 | ///////////////////////////////////////////////////////////////////////////// | 12 | ///////////////////////////////////////////////////////////////////////////// |
13 | #undef APSTUDIO_READONLY_SYMBOLS | 13 | #undef APSTUDIO_READONLY_SYMBOLS |
14 | 14 | ||
15 | ///////////////////////////////////////////////////////////////////////////// | 15 | ///////////////////////////////////////////////////////////////////////////// |
16 | // English (U.S.) resources | 16 | // English (U.S.) resources |
17 | 17 | ||
18 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) | 18 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) |
19 | #ifdef _WIN32 | 19 | #ifdef _WIN32 |
20 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US | 20 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US |
21 | #pragma code_page(1252) | 21 | #pragma code_page(1252) |
22 | #endif //_WIN32 | 22 | #endif //_WIN32 |
23 | 23 | ||
24 | #ifdef APSTUDIO_INVOKED | 24 | #ifdef APSTUDIO_INVOKED |
25 | ///////////////////////////////////////////////////////////////////////////// | 25 | ///////////////////////////////////////////////////////////////////////////// |
26 | // | 26 | // |
27 | // TEXTINCLUDE | 27 | // TEXTINCLUDE |
28 | // | 28 | // |
29 | 29 | ||
30 | 1 TEXTINCLUDE DISCARDABLE | 30 | 1 TEXTINCLUDE DISCARDABLE |
31 | BEGIN | 31 | BEGIN |
32 | "resource.h\0" | 32 | "resource.h\0" |
33 | END | 33 | END |
34 | 34 | ||
35 | 2 TEXTINCLUDE DISCARDABLE | 35 | 2 TEXTINCLUDE DISCARDABLE |
36 | BEGIN | 36 | BEGIN |
37 | "#include ""afxres.h""\r\n" | 37 | "#include ""afxres.h""\r\n" |
38 | "\0" | 38 | "\0" |
39 | END | 39 | END |
40 | 40 | ||
41 | 3 TEXTINCLUDE DISCARDABLE | 41 | 3 TEXTINCLUDE DISCARDABLE |
42 | BEGIN | 42 | BEGIN |
43 | "#define _AFX_NO_SPLITTER_RESOURCES\r\n" | 43 | "#define _AFX_NO_SPLITTER_RESOURCES\r\n" |
44 | "#define _AFX_NO_OLE_RESOURCES\r\n" | 44 | "#define _AFX_NO_OLE_RESOURCES\r\n" |
45 | "#define _AFX_NO_TRACKER_RESOURCES\r\n" | 45 | "#define _AFX_NO_TRACKER_RESOURCES\r\n" |
46 | "#define _AFX_NO_PROPERTY_RESOURCES\r\n" | 46 | "#define _AFX_NO_PROPERTY_RESOURCES\r\n" |
47 | "\r\n" | 47 | "\r\n" |
48 | "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" | 48 | "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" |
49 | "#ifdef _WIN32\r\n" | 49 | "#ifdef _WIN32\r\n" |
50 | "LANGUAGE 9, 1\r\n" | 50 | "LANGUAGE 9, 1\r\n" |
51 | "#pragma code_page(1252)\r\n" | 51 | "#pragma code_page(1252)\r\n" |
52 | "#endif\r\n" | 52 | "#endif\r\n" |
53 | "#include ""res\\PumpKIN.rc2"" // non-Microsoft Visual C++ edited resources\r\n" | 53 | "#include ""res\\PumpKIN.rc2"" // non-Microsoft Visual C++ edited resources\r\n" |
54 | "#include ""afxres.rc"" // Standard components\r\n" | 54 | "#include ""afxres.rc"" // Standard components\r\n" |
55 | "#endif\0" | 55 | "#endif\0" |
56 | END | 56 | END |
57 | 57 | ||
58 | #endif // APSTUDIO_INVOKED | 58 | #endif // APSTUDIO_INVOKED |
59 | 59 | ||
60 | 60 | ||
61 | ///////////////////////////////////////////////////////////////////////////// | 61 | ///////////////////////////////////////////////////////////////////////////// |
62 | // | 62 | // |
63 | // Icon | 63 | // Icon |
64 | // | 64 | // |
65 | 65 | ||
66 | // Icon with lowest ID value placed first to ensure application icon | 66 | // Icon with lowest ID value placed first to ensure application icon |
67 | // remains consistent on all systems. | 67 | // remains consistent on all systems. |
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.2",IDC_STATIC,40,15,119,8, | 88 | LTEXT "PumpKIN, Version 2.7.3",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-2011 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", 0, 0, 0x1 | 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 |
133 | CONTROL "Allow access to &subdirectories",IDC_TFTPSUBDIRS, | 133 | CONTROL "Allow access to &subdirectories",IDC_TFTPSUBDIRS, |
134 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,31,111,10 | 134 | "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,31,111,10 |
135 | GROUPBOX "Read Request Behavior",IDC_STATIC,7,48,243,56 | 135 | GROUPBOX "Read Request Behavior",IDC_STATIC,7,48,243,56 |
136 | CONTROL "Give &all files",IDC_RRQ_GIVEALL,"Button", | 136 | CONTROL "Give &all files",IDC_RRQ_GIVEALL,"Button", |
137 | BS_AUTORADIOBUTTON | BS_NOTIFY | WS_GROUP,13,63,53,10 | 137 | BS_AUTORADIOBUTTON | BS_NOTIFY | WS_GROUP,13,63,53,10 |
138 | CONTROL "&Prompt before giving file",IDC_RRQ_ALWAYSCONFIRM, | 138 | CONTROL "&Prompt before giving file",IDC_RRQ_ALWAYSCONFIRM, |
139 | "Button",BS_AUTORADIOBUTTON | BS_NOTIFY,43,75,91,10 | 139 | "Button",BS_AUTORADIOBUTTON | BS_NOTIFY,43,75,91,10 |
140 | CONTROL "&Deny all requests",IDC_RRQ_DENYALL,"Button", | 140 | CONTROL "&Deny all requests",IDC_RRQ_DENYALL,"Button", |
141 | BS_AUTORADIOBUTTON | BS_NOTIFY,73,87,70,10 | 141 | BS_AUTORADIOBUTTON | BS_NOTIFY,73,87,70,10 |
142 | GROUPBOX "Write Request Behavior",IDC_STATIC,7,106,243,56, | 142 | GROUPBOX "Write Request Behavior",IDC_STATIC,7,106,243,56, |
143 | WS_GROUP | 143 | WS_GROUP |
144 | CONTROL "Take a&ll files",IDC_WRQ_TAKEALL,"Button", | 144 | CONTROL "Take a&ll files",IDC_WRQ_TAKEALL,"Button", |
145 | BS_AUTORADIOBUTTON | WS_GROUP,13,116,55,10 | 145 | BS_AUTORADIOBUTTON | WS_GROUP,13,116,55,10 |
146 | CONTROL "Prompt if file &exists",IDC_WRQ_PROMPTEXISTING,"Button", | 146 | CONTROL "Prompt if file &exists",IDC_WRQ_PROMPTEXISTING,"Button", |
147 | BS_AUTORADIOBUTTON,43,126,73,10 | 147 | BS_AUTORADIOBUTTON,43,126,73,10 |
148 | CONTROL "Always pro&mpt before accepting file", | 148 | CONTROL "Always pro&mpt before accepting file", |
149 | IDC_WRQ_ALWAYSCONFIRM,"Button",BS_AUTORADIOBUTTON,73,136, | 149 | IDC_WRQ_ALWAYSCONFIRM,"Button",BS_AUTORADIOBUTTON,73,136, |
150 | 139,10 | 150 | 139,10 |
151 | CONTROL "D&eny all requests",IDC_WRQ_DENYALL,"Button", | 151 | CONTROL "D&eny all requests",IDC_WRQ_DENYALL,"Button", |
152 | BS_AUTORADIOBUTTON,103,146,70,10 | 152 | BS_AUTORADIOBUTTON,103,146,70,10 |
153 | CTEXT "Confirmation &timeout",IDC_STATIC,253,52,40,19, | 153 | CTEXT "Confirmation &timeout",IDC_STATIC,253,52,40,19, |
154 | SS_NOTIFY | 154 | SS_NOTIFY |
155 | CONTROL "Slider1",IDC_PROMPTTIMEOUT,"msctls_trackbar32", | 155 | CONTROL "Slider1",IDC_PROMPTTIMEOUT,"msctls_trackbar32", |
156 | TBS_AUTOTICKS | TBS_VERT | TBS_TOP | WS_TABSTOP,272,72, | 156 | TBS_AUTOTICKS | TBS_VERT | TBS_TOP | WS_TABSTOP,272,72, |
157 | 21,90 | 157 | 21,90 |
158 | GROUPBOX "Log file (leave empty to disable logging to file)", | 158 | GROUPBOX "Log file (leave empty to disable logging to file)", |
159 | IDC_STATIC,7,165,286,29 | 159 | IDC_STATIC,7,165,286,29 |
160 | EDITTEXT IDC_LOGFILE,13,175,256,13,ES_AUTOHSCROLL | 160 | EDITTEXT IDC_LOGFILE,13,175,256,13,ES_AUTOHSCROLL |
161 | PUSHBUTTON "",IDC_LOGFILE_BROWSE,274,175,13,13,BS_ICON | 161 | PUSHBUTTON "",IDC_LOGFILE_BROWSE,274,175,13,13,BS_ICON |
162 | END | 162 | END |
163 | 163 | ||
164 | IDD_PROPS_NETWORK DIALOG DISCARDABLE 0, 0, 300, 201 | 164 | IDD_PROPS_NETWORK DIALOG DISCARDABLE 0, 0, 300, 201 |
165 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION | 165 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION |
166 | CAPTION "Network" | 166 | CAPTION "Network" |
167 | FONT 8, "MS Sans Serif" | 167 | FONT 8, "MS Sans Serif" |
168 | BEGIN | 168 | BEGIN |
169 | GROUPBOX "UDP Ports",IDC_STATIC,7,7,286,55 | 169 | GROUPBOX "UDP Ports",IDC_STATIC,7,7,286,55 |
170 | RTEXT "Listen for &incoming requests on port:",IDC_STATIC,13, | 170 | RTEXT "Listen for &incoming requests on port:",IDC_STATIC,13, |
171 | 18,135,8 | 171 | 18,135,8 |
172 | EDITTEXT IDC_LISTENPORT,154,16,61,13,ES_AUTOHSCROLL | 172 | EDITTEXT IDC_LISTENPORT,154,16,61,13,ES_AUTOHSCROLL |
173 | CONTROL "Spin1",IDC_LISTENSPIN,"msctls_updown32",UDS_WRAP | | 173 | CONTROL "Spin1",IDC_LISTENSPIN,"msctls_updown32",UDS_WRAP | |
174 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | | 174 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | |
175 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,204,16,11,13 | 175 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,204,16,11,13 |
176 | RTEXT "Send &outging requests to port:",IDC_STATIC,13,46,135,8 | 176 | RTEXT "Send &outging requests to port:",IDC_STATIC,13,46,135,8 |
177 | EDITTEXT IDC_SPEAKPORT,154,44,61,13,ES_AUTOHSCROLL | 177 | EDITTEXT IDC_SPEAKPORT,154,44,61,13,ES_AUTOHSCROLL |
178 | CONTROL "Spin1",IDC_SPEAKSPIN,"msctls_updown32",UDS_WRAP | | 178 | CONTROL "Spin1",IDC_SPEAKSPIN,"msctls_updown32",UDS_WRAP | |
179 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | | 179 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | |
180 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,204,43,11,13 | 180 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,204,43,11,13 |
181 | LTEXT "Default connection timeout:",IDC_STATIC,7,66,88,8 | 181 | LTEXT "Default connection timeout:",IDC_STATIC,7,66,88,8 |
182 | EDITTEXT IDC_TIMEOUT,110,64,40,13,ES_AUTOHSCROLL | ES_NUMBER | 182 | EDITTEXT IDC_TIMEOUT,110,64,40,13,ES_AUTOHSCROLL | ES_NUMBER |
183 | CONTROL "Spin3",IDC_TIMESPIN,"msctls_updown32",UDS_WRAP | | 183 | CONTROL "Spin3",IDC_TIMESPIN,"msctls_updown32",UDS_WRAP | |
184 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | | 184 | UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | |
185 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,140,64,11,13 | 185 | UDS_ARROWKEYS | UDS_NOTHOUSANDS,140,64,11,13 |
186 | LTEXT "Default block size:",IDC_STATIC,7,80,59,8 | 186 | LTEXT "Default block size:",IDC_STATIC,7,80,59,8 |
@@ -235,217 +235,217 @@ BEGIN | |||
235 | CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,54,187,1 | 235 | CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,7,54,187,1 |
236 | ICON IDR_MAINFRAME,IDC_STATIC,7,7,21,20 | 236 | ICON IDR_MAINFRAME,IDC_STATIC,7,7,21,20 |
237 | ICON IDR_MAINFRAME,IDC_STATIC,173,7,21,20 | 237 | ICON IDR_MAINFRAME,IDC_STATIC,173,7,21,20 |
238 | PUSHBUTTON "Res&ume",IDC_RESUME,71,74,59,14 | 238 | PUSHBUTTON "Res&ume",IDC_RESUME,71,74,59,14 |
239 | END | 239 | END |
240 | 240 | ||
241 | IDD_REQUEST DIALOGEX 0, 0, 191, 161 | 241 | IDD_REQUEST DIALOGEX 0, 0, 191, 161 |
242 | STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | WS_CAPTION | | 242 | STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | WS_CAPTION | |
243 | WS_SYSMENU | 243 | WS_SYSMENU |
244 | EXSTYLE WS_EX_CLIENTEDGE | 244 | EXSTYLE WS_EX_CLIENTEDGE |
245 | CAPTION "Request" | 245 | CAPTION "Request" |
246 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | 246 | FONT 8, "MS Sans Serif", 0, 0, 0x1 |
247 | BEGIN | 247 | BEGIN |
248 | LTEXT "&Local file:",IDC_STATIC,7,7,31,8,SS_NOTIFY | 248 | LTEXT "&Local file:",IDC_STATIC,7,7,31,8,SS_NOTIFY |
249 | EDITTEXT IDC_LOCALFILE,7,16,157,14,ES_AUTOHSCROLL, | 249 | EDITTEXT IDC_LOCALFILE,7,16,157,14,ES_AUTOHSCROLL, |
250 | WS_EX_CLIENTEDGE | WS_EX_STATICEDGE | 250 | WS_EX_CLIENTEDGE | WS_EX_STATICEDGE |
251 | PUSHBUTTON "...",IDC_BROWSE,165,16,19,14,BS_ICON,WS_EX_STATICEDGE | 251 | PUSHBUTTON "...",IDC_BROWSE,165,16,19,14,BS_ICON,WS_EX_STATICEDGE |
252 | LTEXT "&Remote file:",IDC_STATIC,7,34,38,8,SS_NOTIFY | 252 | LTEXT "&Remote file:",IDC_STATIC,7,34,38,8,SS_NOTIFY |
253 | EDITTEXT IDC_REMOTEFILE,7,44,177,14,ES_AUTOHSCROLL, | 253 | EDITTEXT IDC_REMOTEFILE,7,44,177,14,ES_AUTOHSCROLL, |
254 | WS_EX_CLIENTEDGE | WS_EX_STATICEDGE | 254 | WS_EX_CLIENTEDGE | WS_EX_STATICEDGE |
255 | LTEXT "Remote &host:",IDC_STATIC,7,61,43,8,SS_NOTIFY | 255 | LTEXT "Remote &host:",IDC_STATIC,7,61,43,8,SS_NOTIFY |
256 | COMBOBOX IDC_TALKS,7,72,157,66,CBS_SIMPLE | CBS_AUTOHSCROLL | | 256 | COMBOBOX IDC_TALKS,7,72,157,66,CBS_SIMPLE | CBS_AUTOHSCROLL | |
257 | CBS_SORT | CBS_NOINTEGRALHEIGHT | WS_VSCROLL | | 257 | CBS_SORT | CBS_NOINTEGRALHEIGHT | WS_VSCROLL | |
258 | WS_TABSTOP,WS_EX_CLIENTEDGE | WS_EX_STATICEDGE | 258 | WS_TABSTOP,WS_EX_CLIENTEDGE | WS_EX_STATICEDGE |
259 | PUSHBUTTON "R\nE\n&F\nR\nE\nS\nH",IDC_REFRESH,165,72,19,66, | 259 | PUSHBUTTON "R\nE\n&F\nR\nE\nS\nH",IDC_REFRESH,165,72,19,66, |
260 | BS_CENTER | BS_VCENTER | BS_MULTILINE | BS_NOTIFY, | 260 | BS_CENTER | BS_VCENTER | BS_MULTILINE | BS_NOTIFY, |
261 | WS_EX_CLIENTEDGE | 261 | WS_EX_CLIENTEDGE |
262 | LTEXT "&Type:",IDC_STATIC,58,34,19,8 | 262 | LTEXT "&Type:",IDC_STATIC,58,34,19,8 |
263 | COMBOBOX IDC_TYPE,80,31,43,41,CBS_DROPDOWN | CBS_AUTOHSCROLL | | 263 | COMBOBOX IDC_TYPE,80,31,43,41,CBS_DROPDOWN | CBS_AUTOHSCROLL | |
264 | CBS_LOWERCASE | WS_VSCROLL | WS_TABSTOP | 264 | CBS_LOWERCASE | WS_VSCROLL | WS_TABSTOP |
265 | LTEXT "&Block:",IDC_STATIC,127,34,21,8 | 265 | LTEXT "&Block:",IDC_STATIC,127,34,21,8 |
266 | COMBOBOX IDC_BSIZE,149,31,35,53,CBS_DROPDOWN | WS_VSCROLL | | 266 | COMBOBOX IDC_BSIZE,149,31,35,53,CBS_DROPDOWN | WS_VSCROLL | |
267 | WS_TABSTOP | 267 | WS_TABSTOP |
268 | DEFPUSHBUTTON "OK",IDOK,35,140,50,14 | 268 | DEFPUSHBUTTON "OK",IDOK,35,140,50,14 |
269 | PUSHBUTTON "Cancel",IDCANCEL,101,140,50,14 | 269 | PUSHBUTTON "Cancel",IDCANCEL,101,140,50,14 |
270 | CONTROL "",IDC_STATIC,"Static",SS_ETCHEDVERT,52,32,1,11 | 270 | CONTROL "",IDC_STATIC,"Static",SS_ETCHEDVERT,52,32,1,11 |
271 | END | 271 | END |
272 | 272 | ||
273 | IDD_PROPS_SOUNDS DIALOG DISCARDABLE 0, 0, 300, 201 | 273 | IDD_PROPS_SOUNDS DIALOG DISCARDABLE 0, 0, 300, 201 |
274 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION | 274 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION |
275 | CAPTION "Sounds" | 275 | CAPTION "Sounds" |
276 | FONT 8, "MS Sans Serif" | 276 | FONT 8, "MS Sans Serif" |
277 | BEGIN | 277 | BEGIN |
278 | LTEXT "&Incoming request:",IDC_STATIC,7,9,57,8 | 278 | LTEXT "&Incoming request:",IDC_STATIC,7,9,57,8 |
279 | COMBOBOX IDC_RING,70,7,188,100,CBS_DROPDOWN | CBS_AUTOHSCROLL | | 279 | COMBOBOX IDC_RING,70,7,188,100,CBS_DROPDOWN | CBS_AUTOHSCROLL | |
280 | CBS_SORT | WS_VSCROLL | WS_TABSTOP | 280 | CBS_SORT | WS_VSCROLL | WS_TABSTOP |
281 | PUSHBUTTON "browse",IDC_RING_BROWSE,263,7,13,13,BS_ICON | 281 | PUSHBUTTON "browse",IDC_RING_BROWSE,263,7,13,13,BS_ICON |
282 | PUSHBUTTON "play",IDC_RING_PLAY,280,7,13,13,BS_ICON | 282 | PUSHBUTTON "play",IDC_RING_PLAY,280,7,13,13,BS_ICON |
283 | LTEXT "xfer &finished:",IDC_STATIC,7,25,57,8 | 283 | LTEXT "xfer &finished:",IDC_STATIC,7,25,57,8 |
284 | COMBOBOX IDC_FINISHED,70,22,188,100,CBS_DROPDOWN | | 284 | COMBOBOX IDC_FINISHED,70,22,188,100,CBS_DROPDOWN | |
285 | CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP | 285 | CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP |
286 | PUSHBUTTON "browse",IDC_FINISHED_BROWSE,263,22,13,13,BS_ICON | 286 | PUSHBUTTON "browse",IDC_FINISHED_BROWSE,263,22,13,13,BS_ICON |
287 | PUSHBUTTON "play",IDC_FINISHED_PLAY,280,22,13,13,BS_ICON | 287 | PUSHBUTTON "play",IDC_FINISHED_PLAY,280,22,13,13,BS_ICON |
288 | LTEXT "xfer &aborted:",IDC_STATIC,7,40,57,8 | 288 | LTEXT "xfer &aborted:",IDC_STATIC,7,40,57,8 |
289 | COMBOBOX IDC_ABORTED,70,37,188,100,CBS_DROPDOWN | CBS_AUTOHSCROLL | | 289 | COMBOBOX IDC_ABORTED,70,37,188,100,CBS_DROPDOWN | CBS_AUTOHSCROLL | |
290 | CBS_SORT | WS_VSCROLL | WS_TABSTOP | 290 | CBS_SORT | WS_VSCROLL | WS_TABSTOP |
291 | PUSHBUTTON "browse",IDC_ABORTED_BROWSE,263,37,13,13,BS_ICON | 291 | PUSHBUTTON "browse",IDC_ABORTED_BROWSE,263,37,13,13,BS_ICON |
292 | PUSHBUTTON "play",IDC_ABORTED_PLAY,280,37,13,13,BS_ICON | 292 | PUSHBUTTON "play",IDC_ABORTED_PLAY,280,37,13,13,BS_ICON |
293 | END | 293 | END |
294 | 294 | ||
295 | IDD_PROPS_ACL DIALOG DISCARDABLE 0, 0, 300, 201 | 295 | IDD_PROPS_ACL DIALOG DISCARDABLE 0, 0, 300, 201 |
296 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION | 296 | STYLE WS_CHILD | WS_DISABLED | WS_CAPTION |
297 | CAPTION "Access Lists" | 297 | CAPTION "Access Lists" |
298 | FONT 8, "MS Sans Serif" | 298 | FONT 8, "MS Sans Serif" |
299 | BEGIN | 299 | BEGIN |
300 | CONTROL "List1",IDC_ACL_LIST,"SysListView32",LVS_REPORT | | 300 | CONTROL "List1",IDC_ACL_LIST,"SysListView32",LVS_REPORT | |
301 | WS_BORDER | WS_TABSTOP,7,7,258,110 | 301 | WS_BORDER | WS_TABSTOP,7,7,258,110 |
302 | PUSHBUTTON "&Up",IDC_ACL_UP,273,7,20,30,BS_ICON | BS_CENTER | | 302 | PUSHBUTTON "&Up",IDC_ACL_UP,273,7,20,30,BS_ICON | BS_CENTER | |
303 | BS_VCENTER | 303 | BS_VCENTER |
304 | PUSHBUTTON "&Down",IDC_ACL_DOWN,273,87,20,30,BS_ICON | BS_CENTER | | 304 | PUSHBUTTON "&Down",IDC_ACL_DOWN,273,87,20,30,BS_ICON | BS_CENTER | |
305 | BS_VCENTER | 305 | BS_VCENTER |
306 | PUSHBUTTON "&Remove",IDC_ACL_REMOVE,273,47,20,30,BS_ICON | | 306 | PUSHBUTTON "&Remove",IDC_ACL_REMOVE,273,47,20,30,BS_ICON | |
307 | BS_CENTER | BS_VCENTER | 307 | BS_CENTER | BS_VCENTER |
308 | LTEXT "If",IDC_STATIC,13,128,8,8 | 308 | LTEXT "If",IDC_STATIC,13,128,8,8 |
309 | COMBOBOX IDC_ACL_XFER,21,125,48,67,CBS_DROPDOWNLIST | WS_VSCROLL | | 309 | COMBOBOX IDC_ACL_XFER,21,125,48,67,CBS_DROPDOWNLIST | WS_VSCROLL | |
310 | WS_TABSTOP | 310 | WS_TABSTOP |
311 | LTEXT "request comes from the address in the network", | 311 | LTEXT "request comes from the address in the network", |
312 | IDC_STATIC,71,128,122,8 | 312 | IDC_STATIC,71,128,122,8 |
313 | EDITTEXT IDC_ACL_ADDR,47,143,80,12,ES_AUTOHSCROLL | 313 | EDITTEXT IDC_ACL_ADDR,47,143,80,12,ES_AUTOHSCROLL |
314 | LTEXT "with netmask",IDC_STATIC,129,145,41,8 | 314 | LTEXT "with netmask",IDC_STATIC,129,145,41,8 |
315 | EDITTEXT IDC_ACL_NETMASK,173,143,80,12,ES_AUTOHSCROLL | 315 | EDITTEXT IDC_ACL_NETMASK,173,143,80,12,ES_AUTOHSCROLL |
316 | LTEXT "then",IDC_STATIC,124,160,15,8 | 316 | LTEXT "then",IDC_STATIC,124,160,15,8 |
317 | COMBOBOX IDC_ACL_RULE,143,158,123,117,CBS_DROPDOWNLIST | | 317 | COMBOBOX IDC_ACL_RULE,143,158,123,117,CBS_DROPDOWNLIST | |
318 | WS_VSCROLL | WS_TABSTOP | 318 | WS_VSCROLL | WS_TABSTOP |
319 | PUSHBUTTON "&Add new rule",IDC_ACL_ADD,7,178,130,16 | 319 | PUSHBUTTON "&Add new rule",IDC_ACL_ADD,7,178,130,16 |
320 | PUSHBUTTON "&Replace rule",IDC_ACL_REPLACE,152,178,130,16 | 320 | PUSHBUTTON "&Replace rule",IDC_ACL_REPLACE,152,178,130,16 |
321 | END | 321 | END |
322 | 322 | ||
323 | 323 | ||
324 | #ifndef _MAC | 324 | #ifndef _MAC |
325 | ///////////////////////////////////////////////////////////////////////////// | 325 | ///////////////////////////////////////////////////////////////////////////// |
326 | // | 326 | // |
327 | // Version | 327 | // Version |
328 | // | 328 | // |
329 | 329 | ||
330 | VS_VERSION_INFO VERSIONINFO | 330 | VS_VERSION_INFO VERSIONINFO |
331 | FILEVERSION 2,7,2,0 | 331 | FILEVERSION 2,7,3,0 |
332 | PRODUCTVERSION 2,7,2,0 | 332 | PRODUCTVERSION 2,7,3,0 |
333 | FILEFLAGSMASK 0x3fL | 333 | FILEFLAGSMASK 0x3fL |
334 | #ifdef _DEBUG | 334 | #ifdef _DEBUG |
335 | FILEFLAGS 0x1L | 335 | FILEFLAGS 0x1L |
336 | #else | 336 | #else |
337 | FILEFLAGS 0x0L | 337 | FILEFLAGS 0x0L |
338 | #endif | 338 | #endif |
339 | FILEOS 0x4L | 339 | FILEOS 0x4L |
340 | FILETYPE 0x1L | 340 | FILETYPE 0x1L |
341 | FILESUBTYPE 0x0L | 341 | FILESUBTYPE 0x0L |
342 | BEGIN | 342 | BEGIN |
343 | BLOCK "StringFileInfo" | 343 | BLOCK "StringFileInfo" |
344 | BEGIN | 344 | BEGIN |
345 | BLOCK "040904b0" | 345 | BLOCK "040904b0" |
346 | BEGIN | 346 | BEGIN |
347 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" | 347 | VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0" |
348 | VALUE "FileDescription", "PumpKIN, tftp client/daemon\0" | 348 | VALUE "FileDescription", "PumpKIN, tftp client/daemon\0" |
349 | VALUE "FileVersion", "2, 7, 2, 0\0" | 349 | VALUE "FileVersion", "2, 7, 3, 0\0" |
350 | VALUE "InternalName", "PUMPKIN\0" | 350 | VALUE "InternalName", "PUMPKIN\0" |
351 | VALUE "LegalCopyright", "Copyright © 1997-2006 Klever Group (http://www.klever.net)\0" | 351 | VALUE "LegalCopyright", "Copyright © 1997-2011 Klever Group (http://www.klever.net)\0" |
352 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" | 352 | VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0" |
353 | VALUE "OriginalFilename", "PUMPKIN.EXE\0" | 353 | VALUE "OriginalFilename", "PUMPKIN.EXE\0" |
354 | VALUE "ProductName", "PumpKIN\0" | 354 | VALUE "ProductName", "PumpKIN\0" |
355 | VALUE "ProductVersion", "2, 7, 2, 0\0" | 355 | VALUE "ProductVersion", "2, 7, 3, 0\0" |
356 | END | 356 | END |
357 | END | 357 | END |
358 | BLOCK "VarFileInfo" | 358 | BLOCK "VarFileInfo" |
359 | BEGIN | 359 | BEGIN |
360 | VALUE "Translation", 0x409, 1200 | 360 | VALUE "Translation", 0x409, 1200 |
361 | END | 361 | END |
362 | END | 362 | END |
363 | 363 | ||
364 | #endif // !_MAC | 364 | #endif // !_MAC |
365 | 365 | ||
366 | 366 | ||
367 | ///////////////////////////////////////////////////////////////////////////// | 367 | ///////////////////////////////////////////////////////////////////////////// |
368 | // | 368 | // |
369 | // DESIGNINFO | 369 | // DESIGNINFO |
370 | // | 370 | // |
371 | 371 | ||
372 | #ifdef APSTUDIO_INVOKED | 372 | #ifdef APSTUDIO_INVOKED |
373 | GUIDELINES DESIGNINFO DISCARDABLE | 373 | GUIDELINES DESIGNINFO DISCARDABLE |
374 | BEGIN | 374 | BEGIN |
375 | IDD_ABOUTBOX, DIALOG | 375 | IDD_ABOUTBOX, DIALOG |
376 | BEGIN | 376 | BEGIN |
377 | LEFTMARGIN, 7 | 377 | LEFTMARGIN, 7 |
378 | RIGHTMARGIN, 210 | 378 | RIGHTMARGIN, 210 |
379 | TOPMARGIN, 7 | 379 | TOPMARGIN, 7 |
380 | BOTTOMMARGIN, 67 | 380 | BOTTOMMARGIN, 67 |
381 | END | 381 | END |
382 | 382 | ||
383 | IDD_PUMPKIN_DIALOG, DIALOG | 383 | IDD_PUMPKIN_DIALOG, DIALOG |
384 | BEGIN | 384 | BEGIN |
385 | LEFTMARGIN, 7 | 385 | LEFTMARGIN, 7 |
386 | RIGHTMARGIN, 355 | 386 | RIGHTMARGIN, 355 |
387 | TOPMARGIN, 7 | 387 | TOPMARGIN, 7 |
388 | BOTTOMMARGIN, 186 | 388 | BOTTOMMARGIN, 186 |
389 | HORZGUIDE, 115 | 389 | HORZGUIDE, 115 |
390 | END | 390 | END |
391 | 391 | ||
392 | IDD_PROPS_SERVER, DIALOG | 392 | IDD_PROPS_SERVER, DIALOG |
393 | BEGIN | 393 | BEGIN |
394 | LEFTMARGIN, 7 | 394 | LEFTMARGIN, 7 |
395 | RIGHTMARGIN, 293 | 395 | RIGHTMARGIN, 293 |
396 | TOPMARGIN, 7 | 396 | TOPMARGIN, 7 |
397 | BOTTOMMARGIN, 194 | 397 | BOTTOMMARGIN, 194 |
398 | END | 398 | END |
399 | 399 | ||
400 | IDD_PROPS_NETWORK, DIALOG | 400 | IDD_PROPS_NETWORK, DIALOG |
401 | BEGIN | 401 | BEGIN |
402 | LEFTMARGIN, 7 | 402 | LEFTMARGIN, 7 |
403 | RIGHTMARGIN, 293 | 403 | RIGHTMARGIN, 293 |
404 | TOPMARGIN, 7 | 404 | TOPMARGIN, 7 |
405 | BOTTOMMARGIN, 194 | 405 | BOTTOMMARGIN, 194 |
406 | END | 406 | END |
407 | 407 | ||
408 | IDD_CONFIRM_RRQ, DIALOG | 408 | IDD_CONFIRM_RRQ, DIALOG |
409 | BEGIN | 409 | BEGIN |
410 | LEFTMARGIN, 7 | 410 | LEFTMARGIN, 7 |
411 | RIGHTMARGIN, 174 | 411 | RIGHTMARGIN, 174 |
412 | TOPMARGIN, 7 | 412 | TOPMARGIN, 7 |
413 | BOTTOMMARGIN, 72 | 413 | BOTTOMMARGIN, 72 |
414 | END | 414 | END |
415 | 415 | ||
416 | IDD_CONFIRM_WRQ, DIALOG | 416 | IDD_CONFIRM_WRQ, DIALOG |
417 | BEGIN | 417 | BEGIN |
418 | LEFTMARGIN, 7 | 418 | LEFTMARGIN, 7 |
419 | RIGHTMARGIN, 194 | 419 | RIGHTMARGIN, 194 |
420 | TOPMARGIN, 7 | 420 | TOPMARGIN, 7 |
421 | BOTTOMMARGIN, 88 | 421 | BOTTOMMARGIN, 88 |
422 | END | 422 | END |
423 | 423 | ||
424 | IDD_REQUEST, DIALOG | 424 | IDD_REQUEST, DIALOG |
425 | BEGIN | 425 | BEGIN |
426 | LEFTMARGIN, 7 | 426 | LEFTMARGIN, 7 |
427 | RIGHTMARGIN, 184 | 427 | RIGHTMARGIN, 184 |
428 | TOPMARGIN, 7 | 428 | TOPMARGIN, 7 |
429 | BOTTOMMARGIN, 154 | 429 | BOTTOMMARGIN, 154 |
430 | END | 430 | END |
431 | 431 | ||
432 | IDD_PROPS_SOUNDS, DIALOG | 432 | IDD_PROPS_SOUNDS, DIALOG |
433 | BEGIN | 433 | BEGIN |
434 | LEFTMARGIN, 7 | 434 | LEFTMARGIN, 7 |
435 | RIGHTMARGIN, 293 | 435 | RIGHTMARGIN, 293 |
436 | TOPMARGIN, 7 | 436 | TOPMARGIN, 7 |
437 | BOTTOMMARGIN, 194 | 437 | BOTTOMMARGIN, 194 |
438 | END | 438 | END |
439 | 439 | ||
440 | IDD_PROPS_ACL, DIALOG | 440 | IDD_PROPS_ACL, DIALOG |
441 | BEGIN | 441 | BEGIN |
442 | LEFTMARGIN, 7 | 442 | LEFTMARGIN, 7 |
443 | RIGHTMARGIN, 293 | 443 | RIGHTMARGIN, 293 |
444 | TOPMARGIN, 7 | 444 | TOPMARGIN, 7 |
445 | BOTTOMMARGIN, 194 | 445 | BOTTOMMARGIN, 194 |
446 | HORZGUIDE, 117 | 446 | HORZGUIDE, 117 |
447 | HORZGUIDE, 125 | 447 | HORZGUIDE, 125 |
448 | END | 448 | END |
449 | END | 449 | END |
450 | #endif // APSTUDIO_INVOKED | 450 | #endif // APSTUDIO_INVOKED |
451 | 451 | ||