Are you trying to implement control of in-game operations through an external window input, including generating units, heroes, and controlling them? That's a brilliant idea, looking forward to seeing your complete project.
Which version of the game is this project compatible with?