I was having problems checking for the existence of a file, and then I realized that it was because of a GetOpenFileName call. How can I properly preserve my working dir after that function ? (without saving and restoring it)
Maybe something wrong in my OPENFILENAME Structure ? I will paste code if needed.
Hey,
Try using the OFN_NOCHANGEDIR flag ?.
QuoteOFN_NOCHANGEDIR
Restores the current directory to its original value if the user changed the directory while searching for files.
Haha, thank you, I got lost in msdn and my brain is kinda fried after hours of coding :thumbu