Einzelnen Beitrag anzeigen

Kas Ob.
Online

Registriert seit: 3. Sep 2023
353 Beiträge
 
#4

AW: D2009 - IDE reagiert nicht mehr bei bestimmtem Befehl mit Windows 11

  Alt 3. Sep 2023, 10:48
Hi everyone,

Sorry for using English (bad English though), and hope you mind me writing in non German.

Does anyone have an idea what could be the problem here?
I saw such behaviour years ago, half the problem falls on old Delphi debuggers, the other half with this specific bug is on the Windows OS installed codecs (audio and video).
Many old codecs where proprietary and needed a license also used some sort of protection against debugging, this caused a lot of troubles with many debuggers (not only Delphi's), also that old API "PlaySound" is there and will work forever as is it, the problem with it that it does populate all the installed codecs to decide which one to use and this might trigger some protection or DRM code to execute, Delphi Debugger on other hand just fail to handle some rare and exotic exceptions.

Suggested solutions:
1) Verify the encoding of that audio file, and try to use PCM (wave uncompressed format) or may be different one might solve this, I recommend PCM as never witnessed such a problem with PCM.
2) Check the installed codecs, SysInternals Autoruns will show the installed module but will not show the logical codec themselves, this enough to see and disable the culprit, or at least put your finger on the problem.

Hope that helps.
Kas
  Mit Zitat antworten Zitat