I want a user to be able to select an audio file to play but am unable to figure out how to create a file open dialog box in Win32 API. I could create one from scratch but am hoping that there is an easier way than manually creating it. I only want to be able to have the user select a file and then it save it as a variable..

Recommended Answers

All 2 Replies

Thanks.. I was able to pullup how to do it now.. Using ZEROMEMORY, a Struct and GetOpenFileName()..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.