Hi, I'd appreciate some help here.

I'm experimenting with the Bass24 audio library. One of its fundamental commands is BASS_StreamCreateFile, which takes several arguments including a file name to open. Now, I used MFC's CFileDialog to fetch the filename, which is a CString object. StreamCreateFile, however, needs the filename presented as a const void pointer, something I'm completely unfamiliar with. I'm pretty new to this and I can't work out how to derive a const void pointer from a CString. I probably need to use CString.GetBuffer() somehow. Can anybody help?

I'm using VC++2010 and Unicode.