in oncreat it is like this:
procedure TForm1.FormCreate(Sender: TObject);
var P: HPlugin;
begin
// check the correct BASS was loaded
win := handle;
if (HIWORD(BASS_GetVersion) <> BASSVERSION) then
begin
MessageBox(0, 'An incorrect version of BASS.DLL was loaded', nil, MB_ICONERROR);
Halt;
end;
if (not BASS_Init(-1, 44100, 0, handle, nil)) then
begin
Error('Can''t initialize device');
Halt;
end;
BASS_SetConfig(BASS_CONFIG_NET_PLAYLIST, 1); // enable playlist processing
P := BASS_PluginLoad(PChar('bass_aac.dll'), BASS_Unicode);
P := BASS_PluginLoad(PChar('bassflac.dll'), BASS_Unicode);
P := BASS_PluginLoad(PChar('basshls.dll'), BASS_Unicode);
P := BASS_PluginLoad(PChar('basswma.dll'), BASS_Unicode);
P := BASS_PluginLoad(PChar('bass_ssl.dll'), BASS_Unicode);
end;
On some machines it play. On others it doesn't. What do I have to do in Windows to play?
a machine that doesn't work has windows 7
Regards