diff options
Diffstat (limited to 'plugins/NotifyAnything/sendlog/SendLogWin.cpp')
-rw-r--r-- | plugins/NotifyAnything/sendlog/SendLogWin.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/plugins/NotifyAnything/sendlog/SendLogWin.cpp b/plugins/NotifyAnything/sendlog/SendLogWin.cpp deleted file mode 100644 index 37f112efb8..0000000000 --- a/plugins/NotifyAnything/sendlog/SendLogWin.cpp +++ /dev/null @@ -1,30 +0,0 @@ -#include <windows.h>
-#include <winsock.h>
-
-#include <iostream>
-#include <string>
-
-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;
-}
|