#include "stdafx.h"
#include "ProcMem.h"
#include <iostream>
#include <windows.h>
#include <TlHelp32.h> // Memory reading
using namespace std;
ProcMem * Caliber; // Shortcut
int main()
{
Caliber.Process("csgo.exe"); // Choosing the process
DWORD ClientDLL = Caliber.Module("client.dll");
}
#pragma once
I was just testing to see if i setup procmem correctly then i was gonna do the rest but the build failed when testing if ProcMem was alright.
Severity Code Description Project File Line Suppression State
Error C2040 'Caliber': 'int' differs in levels of indirection from 'ProcMem *' CaliberMPGHUpdate d:\coding projects\calibermpgh\calibermpghupdate\calibermpgh update.cpp 14
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int CaliberMPGHUpdate d:\coding projects\calibermpgh\calibermpghupdate\calibermpgh update.cpp 14
Error (active) expression must have class type CaliberMPGHUpdate d:\Coding Projects\CaliberMPGH\CaliberMPGHUpdate\CaliberMPGH Update.cpp 19
Error (active) expression must have class type CaliberMPGHUpdate d:\Coding Projects\CaliberMPGH\CaliberMPGHUpdate\CaliberMPGH Update.cpp 18
Error (active) this declaration has no storage class or type specifier CaliberMPGHUpdate d:\Coding Projects\CaliberMPGH\CaliberMPGHUpdate\CaliberMPGH Update.cpp 14
Error C2440 'initializing': cannot convert from 'ProcMem *' to 'int' CaliberMPGHUpdate d:\coding projects\calibermpgh\calibermpghupdate\calibermpgh update.cpp 14
Error C2228 left of '.Process' must have class/struct/union CaliberMPGHUpdate d:\coding projects\calibermpgh\calibermpghupdate\calibermpgh update.cpp 18
Error C2228 left of '.Module' must have class/struct/union CaliberMPGHUpdate d:\coding projects\calibermpgh\calibermpghupdate\calibermpgh update.cpp 19