-rw-r--r-- | PumpKINDlg.cpp | 1 | ||||
-rw-r--r-- | pumpkin.rc | 10 | ||||
-rw-r--r-- | resource.h | 1 |
3 files changed, 8 insertions, 4 deletions
diff --git a/PumpKINDlg.cpp b/PumpKINDlg.cpp index 0b3bf41..fc24596 100644 --- a/PumpKINDlg.cpp +++ b/PumpKINDlg.cpp | |||
@@ -326,8 +326,9 @@ int CPumpKINDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) | |||
326 | 326 | ||
327 | m_Listener.m_Daddy=this; | 327 | m_Listener.m_Daddy=this; |
328 | if(!m_Listener.Create(m_ListenPort,SOCK_DGRAM)){ | 328 | if(!m_Listener.Create(m_ListenPort,SOCK_DGRAM)){ |
329 | TRACE0("Failed to create socket\n"); | 329 | TRACE0("Failed to create socket\n"); |
330 | AfxMessageBox(IDS_BOX_CANTBIND,MB_OK|MB_ICONEXCLAMATION); | ||
330 | return -1; | 331 | return -1; |
331 | } | 332 | } |
332 | 333 | ||
333 | if(!m_Trayer->Create(NULL,"PumpKIN TrayIcon",WS_CHILD,CRect(0,0,0,0),this,0)){ | 334 | if(!m_Trayer->Create(NULL,"PumpKIN TrayIcon",WS_CHILD,CRect(0,0,0,0),this,0)){ |
@@ -81,11 +81,12 @@ STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | |||
81 | CAPTION "About PumpKIN" | 81 | CAPTION "About PumpKIN" |
82 | FONT 8, "MS Sans Serif" | 82 | FONT 8, "MS Sans Serif" |
83 | BEGIN | 83 | BEGIN |
84 | ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20 | 84 | ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20 |
85 | LTEXT "PumpKIN, Version 2.5.1-trunk",IDC_STATIC,40,15,119,8,SS_NOPREFIX | 85 | LTEXT "PumpKIN, Version 2.5.1-trunk",IDC_STATIC,40,15,119,8, |
86 | LTEXT "Copyright © 1997-2004 Klever Group",IDC_STATIC,40,30,170, | 86 | SS_NOPREFIX |
87 | 8 | 87 | LTEXT "Copyright © 1997-2004 Klever Group",IDC_STATIC,40,30, |
88 | 170,8 | ||
88 | DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP | 89 | DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP |
89 | PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,124,53,86,14 | 90 | PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,124,53,86,14 |
90 | END | 91 | END |
91 | 92 | ||
@@ -569,8 +570,9 @@ BEGIN | |||
569 | IDS_TFTP_ERROR_TOUT "Invalid timeout" | 570 | IDS_TFTP_ERROR_TOUT "Invalid timeout" |
570 | IDS_SELECT_TFTPROOT "Select TFTP filesystem root.." | 571 | IDS_SELECT_TFTPROOT "Select TFTP filesystem root.." |
571 | IDS_FILTER_WAV "Sound Files (*.wav)|*.wav||" | 572 | IDS_FILTER_WAV "Sound Files (*.wav)|*.wav||" |
572 | IDS_TITLE_WAV "Select sound.." | 573 | IDS_TITLE_WAV "Select sound.." |
574 | IDS_BOX_CANTBIND "Failed to create listening socket. The port may be in use by another application." | ||
573 | END | 575 | END |
574 | 576 | ||
575 | STRINGTABLE DISCARDABLE | 577 | STRINGTABLE DISCARDABLE |
576 | BEGIN | 578 | BEGIN |
@@ -596,9 +598,9 @@ END | |||
596 | #ifdef _WIN32 | 598 | #ifdef _WIN32 |
597 | LANGUAGE 9, 1 | 599 | LANGUAGE 9, 1 |
598 | #pragma code_page(1252) | 600 | #pragma code_page(1252) |
599 | #endif | 601 | #endif |
600 | #include "res\pumpkin.rc2" // non-Microsoft Visual C++ edited resources | 602 | #include "res\PumpKIN.rc2" // non-Microsoft Visual C++ edited resources |
601 | #include "afxres.rc" // Standard components | 603 | #include "afxres.rc" // Standard components |
602 | #endif | 604 | #endif |
603 | ///////////////////////////////////////////////////////////////////////////// | 605 | ///////////////////////////////////////////////////////////////////////////// |
604 | #endif // not APSTUDIO_INVOKED | 606 | #endif // not APSTUDIO_INVOKED |
@@ -77,8 +77,9 @@ | |||
77 | #define IDS_TFTP_ERROR_TOUT 152 | 77 | #define IDS_TFTP_ERROR_TOUT 152 |
78 | #define IDS_SELECT_TFTPROOT 153 | 78 | #define IDS_SELECT_TFTPROOT 153 |
79 | #define IDS_FILTER_WAV 154 | 79 | #define IDS_FILTER_WAV 154 |
80 | #define IDS_TITLE_WAV 155 | 80 | #define IDS_TITLE_WAV 155 |
81 | #define IDS_BOX_CANTBIND 156 | ||
81 | #define IDC_KLEVERNET 1000 | 82 | #define IDC_KLEVERNET 1000 |
82 | #define IDC_CONNECTIONS 1001 | 83 | #define IDC_CONNECTIONS 1001 |
83 | #define IDC_LOG 1003 | 84 | #define IDC_LOG 1003 |
84 | #define IDC_GET 1004 | 85 | #define IDC_GET 1004 |