Hi :)
I have try to convert an old bmax source code with the new
version 1.10 but the program crash on this line
B.Stream=BASS_StreamCreateFile(0,File,0,0,B.MusicFlag|BASS_MP3_SETPOS)
Error : "Unable to convert from string to byte ptr"
I think that the FILE arg is the cause (it's a string) but
i don't know how solve this problem ? me and the pointer ...
But the BASS DLL function calling nee byte ptr :
Global BASS_StreamCreateFile(mem:Int, file:Byte Ptr, offset:Int, length:Int, flags:Int)"Win32" = GetProcAddress(DllHandle,"BASS_StreamCreateFile")
I have try to convert an old bmax source code with the new
version 1.10 but the program crash on this line
B.Stream=BASS_StreamCreateFile(0,File,0,0,B.MusicFlag|BASS_MP3_SETPOS)
Error : "Unable to convert from string to byte ptr"
I think that the FILE arg is the cause (it's a string) but
i don't know how solve this problem ? me and the pointer ...
But the BASS DLL function calling nee byte ptr :
Global BASS_StreamCreateFile(mem:Int, file:Byte Ptr, offset:Int, length:Int, flags:Int)"Win32" = GetProcAddress(DllHandle,"BASS_StreamCreateFile")