|
You should use Enigma Protector; its settings include an option to add a startup image and limit the number of open windows for a specific executable. It is the quickest and simplest method, though it has drawbacks: antivirus software often flags Enigma Protector as a threat, and it can negatively impact your client's performance. Another approach is to create a DLL—acting as a plugin—that monitors for additional open windows or instances of the executable exceeding the limit; if detected, it triggers an alert and closes the extra window. This method is superior because it avoids antivirus false positives and doesn't hurt performance, but it is much more difficult and expensive to implement.
|