#include #include using namespace::std; int Inject(HWND hwnd, char *name); int main() { char dll[]="c:/tt.dll";//change the name to your dll HWND hw=0; hw = FindWindow("Notepad",NULL);//change the "Notepad" to your window name if(!hw) { cout<<"Unable find window"<