MyBASS_StreamCreateFile is declared as followed:
typedef HSTREAM (CALLBACK* LPFNBASSSTREAMCREATEFILE)( BOOL mem, void *file, QWORD offset, QWORD length, DWORD flags);
LPFNBASSSTREAMCREATEFILE MyBASS_StreamCreateFile;
MyBASS_StreamCreateFile=(LPFNBASSSTREAMCREATEFILE)GetProcAddress(hBassAudio,"BASS_StreamCreateFile");
I tried with and without the PluginLoad, but that makes no difference.
Even without the PluginLoad, the FileOpenDialog button returns ErrorGetCode with 0 upon loading the stream.
There must be something wrong with the FullFileName in the ToWav function, but I am stumped as to what it could be