Atached all code (Test lib and library)
Compiled using jSimple Library Compiler 1.03
Example code to load bass.dll in folder Objects
Compiled using jSimple Library Compiler 1.03
Example code to load bass.dll in folder Objects
B4X:
Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Dim LibBass As bass
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.SetFormStyle("UNIFIED")
'MainForm.RootPane.LoadLayout("Layout1") 'Load the layout file.
'Is OK
'Bass Version
Log(LibBass.BASSVERSION)
'Is OK
'Bass Version in Text
Log(LibBass.BASSVERSIONTEXT)
'Error HERE
'Initialize bass sound
LibBass.BASS_Init(-1,44100,0)
'java.lang.UnsatisfiedLinkError: com.un4seen.bass.BASS.BASS_Init(III)Z
MainForm.Show
End Sub
Attachments
Last edited: