hi, I want to popup the open file dialogue menu(just to get the file path).
when i try to call
LPCTSTR file;
CDocument::OnOpenDocument(file);
it gives me this error.
CDocument::OnOpenDocument' : illegal call of non-static member function
what should i do, is there other way to popup the open or select file menu.