I know this is a darn simple question, but I’m very used to using Borland and wrappers, so this is a bit of a new approach for me. Can someone simply tell me how I Can open an OpenDialog that only gets .obj files from a visual studio c++ console app?
It’s very much appreciated!
There isn’t really any difference between a console application and a GUI application, except for entry point (WinMain in a ‘GUI’ app), and a console app will have a console window opened during startup if not started from a console.
All of the Win32 API is available, so you need to use the GetOpenFileName call, as follows:
#define DEFAULT_EXTENSION L".obj"