Hi all.
When i use IGUIOpenFileDialog class the current dir was change. How to i can change current dir to default?
Problem with open file dir
-
christianclavet
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
You create a variable type
You define it to the current path
then you use that function to set your path:
Code: Select all
IFileSystem* return m_FS;Code: Select all
stringc m_WorkingDirectory = ".";Code: Select all
m_FS->changeWorkingDirectoryTo(m_WorkingDirectory.c_str());