Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Try adding .dll
  • Loading branch information
coolreader18 authored and youknowone committed Jan 4, 2026
commit 8afe91860b079cfc86ed07d3834c9a8e2ddd6fbb
3 changes: 2 additions & 1 deletion crates/common/src/fileutils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@ pub mod windows {

let GetFileInformationByName = GET_FILE_INFORMATION_BY_NAME
.get_or_init(|| {
let library_name = OsString::from("api-ms-win-core-file-l2-1-4").to_wide_with_nul();
let library_name =
OsString::from("api-ms-win-core-file-l2-1-4.dll").to_wide_with_nul();
let module = unsafe { LoadLibraryW(library_name.as_ptr()) };
if module.is_null() {
return None;
Expand Down
Loading