Author Topic: BASS.NET >> Bass.BASS_INIT() Error  (Read 198 times)

martin71

  • Posts: 34
BASS.NET >> Bass.BASS_INIT() Error
« on: 20 May '18 - 09:52 »
I installed Mono and MonoDevelop in Linux Mint to try out Bass.net.
.NET and CS are new to me, but I would like to experiment with this because of the great possibilities of BASS.NET

So I tried to run the MyFirstBass CS example (first I copied bass.dll to  /bin/debug) but Bass.BASS_INIT() gives an error:

$exception   {System.TypeInitializationException: The type initializer for 'Un4seen.Bass.Bass' threw an exception.}   System.TypeInitializationException

I don't know how to solve this. Can anyone help? Thanks in advance!

radio42

  • Posts: 4618
Re: BASS.NET >> Bass.BASS_INIT() Error
« Reply #1 on: 20 May '18 - 18:12 »
Have you provided the native bass.dll ?
And are you using the correct version of it - either 32bit or 64bit - depending on your app settings.