Hallo Torben.
Ich habe mal von Dir folgendes Script bekommen:
var pl: IPlaylist;
begin
try
CurrentPlaylist.LoadFromFile(‘Y:\Verzeichnisse\mAirList\playlists’ + FormatDateTime(‘YYYY-MM-DD-HH’, now) + ‘.mld’, false);
except
pl := Database(0).GetCurrentPlaylist;
if pl.GetCount > 0 then
CurrentPlaylist.Assign(pl)
else
CurrentPlaylist.LoadFromFile(‘Y:\Verzeichnisse\mAirList\playlists\Notplaylisten\Notplayliste-’ + FormatDateTime(‘HH’, now) + ‘-Uhr.mld’, false);
end;
CurrentPlaybackControl.AutomationNext;
end.
In der 2.1.38 wird die Datenbankplayliste nicht mehr geladen.
“Runtime error: (7,5) Access violation at address 004076DB in module ‘mAirList.exe’. Read of address 00000004”
Hast Du eine Idee?