I am working on Win32 project in Visual studio 2012. It has file selection button using MFC Editbrowse Control. To write a code for this control, I have added afxeditbrowsectrl.h header file. When I build the solution, it gives me following error:
1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\vc\atlmfc\include\afxeditbrowsectrl.h(67): error C2065: 'BIF_RETURNONLYFSDIRS' : undeclared identifier
My question is why this error occurs and how should I remove this error. Kindly guide me.