I have an application that calls some other utility application to set some settings for a particular device. That utility application is called using ShellExecuteEx.
So
Just logical suggestion, Maybe you can create invisible modal form, and from him use the method #1.