Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EOutOfResources in FormMouseUp on uCapture #1

Open
henrique-souza opened this issue May 24, 2022 · 0 comments
Open

EOutOfResources in FormMouseUp on uCapture #1

henrique-souza opened this issue May 24, 2022 · 0 comments

Comments

@henrique-souza
Copy link

henrique-souza commented May 24, 2022

EN

Dear,

I would like to thank you. Your project served as the basis for a new feature in my work. During my tests, there was an occurrence where, if the user selects an area that does not match, at this moment, the exception "EOutOfResources" would explode for the same. After many studies, I identified that the exception occurred in uCapture, in the FormMouseUp event.

procedure TfrmCapture.FormMouseUp(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
begin
  Self.Visible := False;
  FPrint := WindowCapture(
    FX,
    FY,
    X,
    Y
    );
  Close;
end;

image

I already have the necessary treatment and I will do the pull as soon as possible.

GER

Lieb,

Ich möchte dir gerne danken. Ihr Projekt diente als Grundlage für ein neues Feature in meiner Arbeit. Während meiner Tests gab es einen Vorfall, bei dem, wenn der Benutzer einen Bereich auswählt, der in diesem Moment nicht übereinstimmt, die Ausnahme "EOutOfResources" für denselben explodierte. Nach vielen Studien habe ich festgestellt, dass die Ausnahme in uCapture im FormMouseUp-Ereignis aufgetreten ist.
Ich habe bereits die notwendige Behandlung und werde den Zug so schnell wie möglich durchführen.

Using Google Translate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant