I am trying to write an app that will allow the user to open up a file and load it into my program. The file that will be loaded will probably be just a standard .txt file.
I would like to use the Windows standard OpenFile Dialog box, but I am having trouble getting the box to open.
I create a OPENFILENAME testfile, and then pass that to the function GetOpenFileName(&testfile); The window is never displayed, and I am out of ideas. If somebody could please help me that would be great. Thanks in advance.