summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--PumpKINDlg.cpp1
-rw-r--r--pumpkin.rc10
-rw-r--r--resource.h1
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
@@ -329,2 +329,3 @@ int CPumpKINDlg::OnCreate(LPCREATESTRUCT lpCreateStruct)
TRACE0("Failed to create socket\n");
+ AfxMessageBox(IDS_BOX_CANTBIND,MB_OK|MB_ICONEXCLAMATION);
return -1;
diff --git a/pumpkin.rc b/pumpkin.rc
index 7380e12..7f3bbde 100644
--- a/pumpkin.rc
+++ b/pumpkin.rc
@@ -84,5 +84,6 @@ BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20
- LTEXT "PumpKIN, Version 2.5.1-trunk",IDC_STATIC,40,15,119,8,SS_NOPREFIX
- LTEXT "Copyright © 1997-2004 Klever Group",IDC_STATIC,40,30,170,
- 8
+ LTEXT "PumpKIN, Version 2.5.1-trunk",IDC_STATIC,40,15,119,8,
+ SS_NOPREFIX
+ LTEXT "Copyright © 1997-2004 Klever Group",IDC_STATIC,40,30,
+ 170,8
DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP
@@ -572,2 +573,3 @@ BEGIN
IDS_TITLE_WAV "Select sound.."
+ IDS_BOX_CANTBIND "Failed to create listening socket. The port may be in use by another application."
END
@@ -599,3 +601,3 @@ LANGUAGE 9, 1
#endif
-#include "res\pumpkin.rc2" // non-Microsoft Visual C++ edited resources
+#include "res\PumpKIN.rc2" // non-Microsoft Visual C++ edited resources
#include "afxres.rc" // Standard components
diff --git a/resource.h b/resource.h
index fcdda9c..8755a55 100644
--- a/resource.h
+++ b/resource.h
@@ -80,2 +80,3 @@
#define IDS_TITLE_WAV 155
+#define IDS_BOX_CANTBIND 156
#define IDC_KLEVERNET 1000