Dinkleburger
asked on
Song wont Play
Hello ALL
I am writing A DLL
and have problem with the procedure below
It wont play the song...
///////////////////////// CODE ////
Procedure CREATE;
Var
CHAN : HSTREAM;
Begin
Chan:=0;
BASS_StreamFree(chan);
chan := BASS_StreamCreateFile(FALS E, 'C:\charlie rich - the most beautiful girl', 0,0,0);
BASS_StreamPlay(chan, FALSE, BASS_SAMPLE_LOOP);
end;
//////
AS you can see the song is in C:\
the error message i get for this is
uncompatible type String and Pointer.
But this same code works in a normal delphi app
but not from My DLL
Thanks in advance Dinkleburger
I am writing A DLL
and have problem with the procedure below
It wont play the song...
///////////////////////// CODE ////
Procedure CREATE;
Var
CHAN : HSTREAM;
Begin
Chan:=0;
BASS_StreamFree(chan);
chan := BASS_StreamCreateFile(FALS
BASS_StreamPlay(chan, FALSE, BASS_SAMPLE_LOOP);
end;
//////
AS you can see the song is in C:\
the error message i get for this is
uncompatible type String and Pointer.
But this same code works in a normal delphi app
but not from My DLL
Thanks in advance Dinkleburger
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.