Skip to content

Иногда отлавливается ошибка в месте "Properties (border) fail" #2

@truekenny

Description

@truekenny

Место ошибки:

ShowMessage('Properties (border) fail');

Воспроизвести не получается.

Возможно происходит в момент когда IsWindow(gameHandle) всё еще True

if (gameHandle <> 0) and IsWindow(gameHandle) then begin

а в момент
if not Succeeded(DwmUpdateThumbnailProperties(PH,Props))then begin

окна уже нет.

Возможно достаточно заменить строки

evemini/UnitWindow.pas

Lines 630 to 632 in eb8a097

Timer.Enabled := False;
ShowMessage('Properties (border) fail');
Close;

на вызов метода
procedure TFormWindow.menuForgetClick(Sender: TObject);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions