When I inject my cheat using LoadLibrary, it works fine, using Manual Map I get an exception:
Code:
Exception thrown at 0x00000000 in csgo.exe: 0xC0000005: Access violation executing location 0x00000000.
DLL Entrypoint:
Code:
BOOL WINAPI DllMain(
_In_ HINSTANCE hinstDll,
_In_ DWORD fdwReason,
_In_opt_ LPVOID lpvReserved
)
{
switch(fdwReason) {
case DLL_PROCESS_ATTACH:
{
MessageBox(HWND_DESKTOP, "b1g pasta fatboy loaded", "ayyyy", MB_OK);
CreateThread(nullptr, 0, OnDllAttach, hinstDll, 0, nullptr);
return TRUE;
}
case DLL_PROCESS_DETACH:
if(lpvReserved == nullptr)
return OnDllDetach();
return TRUE;
default:
return TRUE;
}
}
Crashes with Extreme Injector as well as my private injector, haven't tested any other injectors.