Hello,
I'm trying to use bass.net in a windows phone 8.1 (c#) project. I've added the bass.dll to the project, and reference bass.net.compact. The project builds and runs, but I get an error when I try to call BASS_StreamCreateFileUser:
{System.EntryPointNotFoundException: Unable to find an entry point named 'BASS_StreamCreateFileUser_' in DLL 'bass.dll'.
at Un4seen.Bass.Bass.BASS_StreamCreateFileUser_(BASSStreamSystem A_0, BASSFlag A_1, FILECLOSEPROC A_2, FILELENPROC A_3, FILEREADPROC A_4, FILESEEKPROC A_5, IntPtr A_6)
at Un4seen.Bass.Bass.BASS_StreamCreateFileUser(BASSStreamSystem system, BASSFlag flags, BASS_FILEPROCS procs, IntPtr user)
I've noticed that FILELENPROC and FILESEEKPROC in bass.net.compact have int return types, instead of long (as in bass.net). Is that the issue?
Should I even be using bass.net.compact? I also tried bass.net (v 4.0), but I get an error when I try to call BASS_GetDevice():
{System.TypeInitializationException: The type initializer for 'Un4seen.Bass.Bass' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
at Un4seen.Bass.Bass.a()
at Un4seen.Bass.Bass.b()
at Un4seen.Bass.Bass..cctor()
--- End of inner exception stack trace ---
at Un4seen.Bass.Bass.BASS_GetDevice()
Thanks,
Matt