Sign in to follow this  

win32 file opener

This topic is 4594 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Can someone show me how to open a file with the win32 GUI? I am using c++, and I already have a function to actually open the file, read it's contents, etc and it takes a string (the filename for the file being opened) as a parameter. The funtion looks like this: mappy.Load("insertfilenamehere.wak"); I would prefer if it only opened .wak files, but if it opens any kind of file, that works too. My freind tried doing this, however it wouldn't work on any computers running winXP without SP2, so I hope he was just doing something wrong. Any help would be greatly appreciated.

Share this post


Link to post
Share on other sites
Alright, I've decided to give up on using win32, it doesn't seem to fully work on my computer (or one of my freinds computer) but it seems to work on other computers so... I don't know what to do.

Does anyone know of a way to have a open file dialog box not using win32? I think this might solve my problems (plus it would make it cross platform). I am on the brink of going insane over this open file thing, so any help would really, really be appreciated.

Share this post


Link to post
Share on other sites

This topic is 4594 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this