summaryrefslogtreecommitdiff
path: root/plugins/NotifyAnything/SendLog/src/SendLogWin.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-03-03 10:14:15 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-03-03 10:14:15 +0000
commitda69599531c9cabae7a09be462ae09a64cead5dc (patch)
treecb67939653f34bc76b2fa85f89c05f3a68c70c48 /plugins/NotifyAnything/SendLog/src/SendLogWin.cpp
parent9735ce40045bdc429bae8c79a8051af4106d6e49 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3862 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NotifyAnything/SendLog/src/SendLogWin.cpp')
-rw-r--r--plugins/NotifyAnything/SendLog/src/SendLogWin.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/plugins/NotifyAnything/SendLog/src/SendLogWin.cpp b/plugins/NotifyAnything/SendLog/src/SendLogWin.cpp
deleted file mode 100644
index a153bc45d8..0000000000
--- a/plugins/NotifyAnything/SendLog/src/SendLogWin.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "Common.h"
-
-void implementation(int argc, char **argv, bool console);
-
-int main(int argc, char **argv)
-try
-{
- if (argc == 1 || argc == 2 && !strcmp("/?", argv[1])) {
- MessageBox(NULL, "Syntax: sendlog32 [-T] [-H host] [-P port] text\n"
- "\tSends single text message.", "Sendlog32", MB_OK);
- return 0;
- }
-
- implementation(argc, argv, false);
-}
-catch (DWORD err) {
- LPVOID lpMsgBuf;
- FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER|FORMAT_MESSAGE_FROM_SYSTEM|FORMAT_MESSAGE_IGNORE_INSERTS,
- NULL, err, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR) &lpMsgBuf, 0, NULL);
-
- MessageBox(NULL, (LPCTSTR)lpMsgBuf, "sendlog32", MB_OK);
-
- LocalFree(lpMsgBuf);
-
- return 1;
-}