Visual Basic C++ DLL

Posts 13 of 3 · Page 1 of 1
Visual Basic C++ DLL
Good afternoon guys some programmer C + + DLL that could make me pass the code to do this below:

The DLL will check my other program is open to the following checks
program name + the title of my program

If my other program has opened it continues execultando the game.exe if not it closes the game.exe

This DLL I will inside the game.exe by Olly anymore I know doing so would make the DLL with this function ai need it urgent someone help me?
^Brought to you by Google Translate.
Quote Originally Posted by LeafarSwat View Post
Good afternoon guys some programmer C + + DLL that could make me pass the code to do this below:

The DLL will check my other program is open to the following checks
program name + the title of my program

If my other program has opened it continues execultando the game.exe if not it closes the game.exe

This DLL I will inside the game.exe by Olly anymore I know doing so would make the DLL with this function ai need it urgent someone help me?
Look into API such as:
- EnumWindows (To enumerate the current visible windows on the system.)
- FindWindow (To directly find a window by it's class and/or window title.)
- CreateToolhelp32Snapshot [Process32First/Process32Next] (To find a process by it's process name.)

These will get you started in ensuring another process is open. Keep in mind it will be easy to fake the name/title of your other application.
Posts 13 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?