I wrote a screen saver in C #, but whenever I run it in preview mode or let it embed it, it throws an exception. When I double-click it in Windows \ System32, it works fine. With the Visual Studio debugger, I realized that it was not reading the application's .config file, which is also located in Windows \ System32.
I think that when rundll32.exe does a screen saver, the app.config file is omitted. Is there a way to get it to load?
thank
source
share