我自己定义了一个线程SoundPlay,用来播放声音
可偶尔的会出现'Thread句柄error'定义
  SoundPlay:=TSound.Create(true);
  SoundPlay.FreeOnTerminate := true;
释放
  if SoundPlay<>nil then
     SoundPlay.Terminate;
  sndPlaySound(nil,0);
执行
  procedure TSound.Execute;
  begin
    sndplaysound(Pchar(strPath+'sound\Cry.wav'),SND_ASYNC+SND_LOOP)
  end;
不知道我的问题出在哪里?