Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Form1.h"
- #include <winsock2.h>
- #include <stdio.h>
- #include <ws2bth.h>
- #include <time.h>
- #include <Windows.h>
- #define DEFAULT_BUFFER 10
- // tylko Visual C++
- #pragma once
- #pragma comment(lib, "ws2_32.lib")
- void emulateMouse(char *buf);
- void emulateKeyboard(char *buf);
- void emulatePad(char *buf);
- void executeCommand(char *buf);
- void pushButton(WORD command);
- DWORD WINAPI ClientThread(LPVOID lpParam);
- DWORD WINAPI listenThread(LPVOID lpParam);
- ref class btServer
- {
- public:
- btServer(Form1^ aforma);
- void start();
- void stop();
- private:
- Form1^ forma;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement