Skip to content

[v3] SetProcessDpiAwarenessContext failed 0: 18446744073709551612 Access is denied. #4803

@alessandro-ooo

Description

@alessandro-ooo

Description

When you run wails3 dev, in the spam of logs you can notice this error popping up. The application works just fine though, no crash or errors. It seems to happen at the same time the frontend is online.

To Reproduce

  1. run wails3 dev
  2. check terminal
  3. you should see something like this:

` VITE v7.3.0 ready in 212 ms

➜ Local: http://localhost:9245/
➜ Network: use --host to expose
Dec 15 19:31:34.030 INF Connected to frontend dev server!
Dec 15 19:31:34.030 ERR SetProcessDpiAwarenessContext failed 0: 18446744073709551612 Access is denied.`

Expected behaviour

I believe the application shouldn't be starting? unless it's something that doesn't have a big impact on it.

Screenshots

Image

Attempted Fixes

I've tried in a new and fresh project as well (without editing the frontend) but ain't fixed.

System Details

Wails Doctor          
                                


# Wails
Version | v2.10.2


# System
┌────────────────────────────────────────────────────────────────────────┐
| OS           | Windows 10 Home                                         |
| Version      | 2009 (Build: 26100)                                     |
| ID           | 24H2                                                    |
| Branding     | Windows 11 Home                                         |
| Go Version   | go1.25.1                                                |
| Platform     | windows                                                 |
| Architecture | amd64                                                   |
| CPU          | AMD Ryzen 5 5600X 6-Core Processor                      |
| GPU          | NVIDIA GeForce RTX 3060 (NVIDIA) - Driver: 32.0.15.8157 |
| Memory       | 32GB                                                    |
└────────────────────────────────────────────────────────────────────────┘

# Dependencies
┌───────────────────────────────────────────────────────┐
| Dependency | Package Name | Status    | Version       |
| WebView2   | N/A          | Installed | 143.0.3650.80 |
| Nodejs     | N/A          | Installed | 24.9.0        |
| npm        | N/A          | Installed | 10.5.0        |
| *upx       | N/A          | Available |               |
| *nsis      | N/A          | Available |               |
|                                                       |
└─────────────── * - Optional Dependency ───────────────┘

# Diagnosis
Optional package(s) installation details:
  - upx : Available at https://upx.github.io/
  - nsis : More info at https://wails.io/docs/guides/windows-installer/

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingWindows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions