oh, i see your LoadLibrary Code. If you work with DLL and LoadLibrary, see this :
I think that Code is a bit better to read and Use.
Mfg Suco
strict const DllName:string = "bass.dll" local DllHandle = LoadLibraryA(DllName) global BASS_Init:int(devive:int, freq:int, flags:int, win:int, clsid:int)"Win32" = GetProcAddress(DllHandle,"BASS_Init") function FunctionExist(Func:byte ptr) if Int(Func) return true endif return false end function print FunctionExist(BASS_Init) If Not Bass_Init(0,44100,0,0,0) Print "ERROR!" Else Print "OK!" End If
I think that Code is a bit better to read and Use.
Mfg Suco