// dllmain.cpp : Defines the entry point for the DLL application. #include <windows.h> #include <stdio.h> #include "pch.h" BOOL WINAPI DllMain(HINSTANCE hModule, DWORD fdwReason, LPVOID lpvReserved) { switch (fdwReason) { case DLL_PROCESS_ATTACH: MessageBox(NULL, L"DLL INjection!", L"BOX", MB_OKCANCEL); break; } return TRUE; }