Original Post
Hi guys, I have a problem with a program in which I'm loading an option file during program start. I'm using c++ Windows api so the loading process is during the WM_CREATE: Message. Everything works great but when I put the program into windows startup my relativ path doesn't work anymore because the CurrentDirectory is MyDocuments. So I used SetCurrentDirectory in the WinMain function but when the program receives WM_CREATE the CurrentDirectory has already switched back to MyDocuments. What can I do execept using absolute paths ? Thanks for your help and sry for the bad english!