GithubHelp home page GithubHelp logo

Webview2Loader.dll not detected about go-webview2 HOT 4 CLOSED

jchv avatar jchv commented on August 10, 2024
Webview2Loader.dll not detected

from go-webview2.

Comments (4)

jchv avatar jchv commented on August 10, 2024 1

Yeah, Webview2Loader won't be installed in a system directory, to my understanding; it's part of the Webview2 SDK, not the runtime. You need to have it bundled with your app. That's the main reason why go-webview2 bundles it and uses go-winloader.

Webview2Loader doesn't have a whole lot of functionality in it, though. It mainly exists to just provide the logic for finding and loading Webview2. I have reverse engineered it over here: OpenWebView2Loader.

(Addendum: go-webview2 attempts to load from disk first so that you can swap in a new binary without needing to recompile.)

from go-webview2.

jchv avatar jchv commented on August 10, 2024

In which directory are you trying to have it pick up WebView2Loader.dll from? In theory we should be getting the Standard Search Order for Desktop Applications.

from go-webview2.

leaanthony avatar leaanthony commented on August 10, 2024

Yeah, I assumed that if you use NewLazyDLL("WebView2Loader.dll") it would search those paths and also assumed that "WebView2Loader.dll" would be installed in one of those paths. I mean, it's a lot of assumptions granted 😂

from go-webview2.

leaanthony avatar leaanthony commented on August 10, 2024

I think porting that to Go would be fun!

from go-webview2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.