Hi,
I have the following line in one of my C++ functions:
I get the error message as seen in the attached file.Code:CFileDialog fileDlg( FALSE, "prg", "program.prg", OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, "Program (*.prg)|*.prg||", NULL);
I include the following files:
#include "afxwin.h"
#include "afxdlgs.h"
#include "atlbase.h"
and everything compiles and runs fine, except for the fact that I get an assert error when getting to the line using CFileDialog.
What might be the problem?
Thanks,
Torbjørn



LinkBack URL
About LinkBacks


