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

GetFileVersionInfoSizeW WIN32_ERROR #139

Open
louis030195 opened this issue Aug 7, 2024 · 3 comments
Open

GetFileVersionInfoSizeW WIN32_ERROR #139

louis030195 opened this issue Aug 7, 2024 · 3 comments

Comments

@louis030195
Copy link

louis030195 commented Aug 7, 2024

code here

https://github.com/louis030195/screen-pipe/blob/629f3d8c4d59e3c2e1abfc7324b1fac09ebcca3c/screenpipe-vision/src/utils.rs#L143

some user on windows getting this GetFileVersionInfoSizeW WIN32_ERROR

faced in xcap::platform::utils

other windows users don't have this issue

will try to add more info if i can, not my computer

@louis030195
Copy link
Author

@louis030195
Copy link
Author

louis030195 commented Sep 4, 2024

another user get this

GetFileVersionInfoSizeW error: WIN32_ERROR(1813)

this is the OS:

image

wonder if its only on some versions of windows

@louis030195
Copy link
Author

let file_version_info_size_w = GetFileVersionInfoSizeW(pcw_filename, None);
if file_version_info_size_w == 0 {
log_last_error("GetFileVersionInfoSizeW");

Screenshot 2024-09-05 at 08 58 02

more ctx

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