I am writing a DLL that automatically loads upon loading in a specific application. Since I would like to run the program while working on it, and my users may want to download the program without it in certain cases (for example, when searching for errors), I sometimes want to prevent the DLL from loading. I am currently doing this by checking GetKeyState for VK_LCONTROL, VK_LSHIFT and VK_LMENU at boot, and if everything does not work, I silently unload myself. However, loading the program may take a few seconds and see if the DLL was loaded or not, so I want to inform users about unloading. I reviewed MessageBox, but it is too destructive. I tried MessageBeep but didn't seem to do anything in my setup. I am currently using a simple double beep (Beep, Sleep, Beep) to indicate discharge,but it will probably become quite annoying for my staff. I also looked at the system tray icon, but that would have created a lot of code features and errors, while I'm going to get a minimal notification so as not to introduce any subtle errors.
Does anyone else know a subtle way (preferably visual) to tell the user that their input has been successfully accepted?
source
share