This program is a utility designed to enhance the gaming experience by automatically managing MyDockFinder processes. It stops all related processes when a fullscreen application (not maximized) is launched and restarts them when the fullscreen application is closed.
- Detects when a fullscreen application is active.
- Stops all MyDockFinder processes during fullscreen applications.
- Restarts MyDockFinder processes automatically after exiting fullscreen mode.
- Windows OS: The program uses Windows-specific APIs for process management.
- Administrator Privileges: Required to terminate and restart processes.
- MyDockFinder Path: Replace the path in the code with the correct installation directory of MyDockFinder (default:
C:\Program Files\MyDockFinder\Dock_64.exe
).
Open the source code and update the following line with the correct path to Dock_64.exe
:
const std::string MYDOCKFINDER_PATH = "C:\\Program Files\\MyDockFinder\\Dock_64.exe";
To compile the program, you can use either g++
or gcc
. Below are the commands:
g++ -o MyDockController main.cpp -lgdi32 -luser32 -mwindows
gcc -o MyDockController main.cpp -lgdi32 -luser32 -mwindows
Ensure you have the necessary compilers installed and available in your system's PATH.
To ensure the program works as intended, it must be executed with administrator privileges. Follow these steps:
- Locate the compiled executable (
MyDockController.exe
). - Right-click on the file and select "Run as administrator".
- Confirm any User Account Control (UAC) prompts.
Running as administrator is necessary for managing system processes.
To automatically start the program when your system boots, follow these steps:
- Press
Win + R
to open the Run dialog. - Type
shell:startup
and press Enter. This opens the Startup folder. - Copy the compiled executable (
MyDockController.exe
) into this folder.
The program will now launch automatically every time the system starts.
- Third-Party Software: This program is not affiliated with the developers of MyDockFinder.
- Personal Utility: It is a personal implementation aimed at enhancing gaming efficiency by optimizing MyDockFinder's behavior.
- Use at Your Own Risk: This utility modifies system processes. Ensure you understand its functionality before using it.
If you experience issues or need to adjust the program for your system, follow these steps:
-
Verify Process Names:
- Open Task Manager and confirm the MyDockFinder process names match those listed in the
MYDOCKFINDER_PROCESS_NAMES
array in the source code. - Update the list if there are discrepancies.
- Open Task Manager and confirm the MyDockFinder process names match those listed in the
-
Administrator Privileges:
- Ensure the program is run as administrator.
-
Correct Path:
- Replace
MYDOCKFINDER_PATH
in the code with the actual path to theDock_64.exe
executable. For example:const std::string MYDOCKFINDER_PATH = "C:\\Program Files\\MyDockFinder\\Dock_64.exe";
- Replace
-
Debugging:
- Run the program in a command prompt to view detailed output and identify potential issues.
-
Contact Me:
- You can find my email address as well as other platforms on the main page of my account, feel free to ask me about anything!
Feel free to adapt or improve the program as needed for your specific use case!