The only headers I have anywhere are the 5.0.4 ones from the archive I mentioned before.
As for the directory thing, I guess I'm ignorant on how to write it. I'm assuming that "C:/" would work, but using that doesn't change which directory the file dialog opens to.
I think I am going to start a fresh project to try out the file dialog in isolation and see what happens.
Edit: Not sure what is going on, but the forum won't allow me to reply to this thread now.
Here is the program I created to test the native file dialog:
This compiled but produces the following error:
Unhandled exception at 0x5daa1d39 in Native Dialog Test.exe: 0xC0000005: Access violation reading location 0x555c3a4b.
I'm at a loss really, since from what I understand, it shouldn't even compile...
Maybe someone could try compiling using the same libraries ( http://22.214.171.124/thedmd/allegro/5.0.4/allegro-5.0.4-msvc-10.0.7z ) and see if it reproduces?
Edit: Yep! I was doing something noobish. I looked high and low for old headers and couldn't find a thing. And then I realized that there were indeed old headers in the visual studio include folder.
It works perfectly now, thank you all who tried to point me in the right direction from the start!
p.s. Also, the file path I was meaning to call should have been ".//" to get the program's directory in windows.