I have a simple event-based Windows 32bit exe application which is the front end for a SQL database.
I have recently run into an issue where on some machines when you launch the application, the main form never opens. It appears as if the program failed to launch, however, it is running as a process with at least 20% CPU usage. The usage is never that high under normal operation.
I have noticed that if you run the application as administrator, it will not happen.
Has anyone ever seen this behavior? I can not force the application to require admin privileges every time.
Is there a good way for me to detect this programmatically and terminate it properly?