c# - Screen saver application doesn't read App.Config -
i've written screen saver in c# whenever run on preview mode or let kick in, throws exception. when double click in windows\system32 runs fine. visual studio debugger sussed out doesn't read .config file of application, in windows\system32.
i think when rundll32.exe executes screen saver, app.config file being omitted. there way force load?
thanks
as far remember previous experience, screen savers run "current directory" set %userprofile%. may check if true or not temporarily placing config file directory. , if happens true have add code read config directory in screen saver sits, not current directory.
Comments
Post a Comment