Skip to content

Win, is_format_avail(13) fails after Ctrl + C #33

Description

@fufesou

Hi, thanks for this great crate.

It's not a bug of this crate, but it's a related strange issue.

issue

Have you ever meet the issue that:

  1. OS, windows
  2. Run an application as a system process
  3. Ctrl + C
  4. is_format_avail(13)

is_format_avail(13) returns 0, but GetLastError() returns 0.

related

Hi, I've used this crate through arboard .

Someone is facing this problem. But I cannot find out why it happens.

rustdesk/rustdesk#6859 (comment)

rustdesk/rustdesk#6859 (comment)

The code in arboard is

https://github.com/fufesou/arboard/blob/aa0de068a9b1bccad764a67276007768111ec3aa/src/platform/windows.rs#L489

thanks

It seems this issue happens only on his one machine.

It may be related to his machine settings.

It would be great if anyone knows about this issue or can give a little hint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions