Sorry Folks, it is my fault.
Hello Ian, i must say to you, i use Delphi 3 (i find it more stable, more components, exe more litle) and in a old thread, you speak me about the COMP Delphi 3 var in place of the INT64 Delphi 6.
I have changed it in bass.pas for:
Function BASS_ChannelBytes2Seconds(handle: DWORD; pos: COMP)
Function BASS_ChannelSetPosition(handle: DWORD; pos: COMP)
and of course in const :
QW_ERROR = LONGINT(-1); // -1 (QWORD)
and in var
QWORD = longint;
(if i change QWORD = comp, it does not work ?!)
Now, bass functionate perfectly, i can use all your functions.
And the problem of miliseconds was from me.
The result of Function BASS_ChannelBytes2Seconds is a FLOAT
value, not a COMP who is a integer value.
If you want, i can mail you the Delphi3 bass.pas, i have tested nearly all of your functions and it works perfectly.