base.h 527 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#pragma once
#include <iostream>
#include "stdlib.h"
#include <tchar.h>
#include <Windows.h>
#include <stdio.h>
#include <windows.h>
#include <TlHelp32.h>
#include <atlconv.h>
#include <tchar.h>
#include <sys/stat.h>
#include <direct.h>

using namespace std;

L
ljc545w 已提交
16
void Inject(DWORD dwPid, wchar_t* wStr);
17 18 19 20 21 22 23
bool isFileExists_stat(string& name);
string wstring2string(wstring wstr);
BOOL RemoveDll(DWORD dwId);
extern HANDLE hProcess;
DWORD GetWeChatRobotBase();

#define dllname L"DWeChatRobot.dll"
L
ljc545w 已提交
24
#define SendImageOffset 0x000110BE