What I want to do is get the directory of a file. I want to open a Windows explorer, have the user select their file and click 'Open'. Example: In notepad, you can click File->Open... and it will pull up the window I want to create.
If anyone knows a function to do this, or knows a workaround, etc. please reply.
hmmm
I do need a console for this though. You know, even programs that I am sure are not all built with win32 have a open, or a save window. Does any one here have any experience with how?
Thanks
The problem seemed to be that I was converting from LPSTR to string. Maybe c_str() was just returning a copy of the char[] version. Anyway, problem solved!