This "classic" method is so heavily monitored that it is detected almost instantly by modern Windows Defender, EDRs (Endpoint Detection and Response), and anti-cheat engines (EAC, BattlEye, Vanguard).
Creating an injector that bypasses these defenses requires a move away from standard Windows APIs and into the realm of manual mapping and kernel manipulation. undetected dll injector