Cube-World-Mod-Launcher/CubeModLauncher/Process.h

25 lines
418 B
C
Raw Normal View History

2019-09-11 07:28:59 +08:00
#ifndef PROCESS_H
#define PROCESS_H
#include <iostream>
#include <windows.h>
class Process
{
public:
Process(std::string path);
virtual ~Process();
bool InjectDLL(std::string dllName);
bool Create();
void Run();
protected:
private:
std::string path;
STARTUPINFO si;
PROCESS_INFORMATION pi;
};
#endif // PROCESS_H