soundux / webviewpp Goto Github PK
View Code? Open in Web Editor NEW๐ฐ๏ธ A cross-platform C++ webview library
License: MIT License
๐ฐ๏ธ A cross-platform C++ webview library
License: MIT License
Hi, I create the webview-example( examples/main.cc ) fine and when I run it in Windows 7
Error1(Can't find entry point )
SetProcessDpiAwarenessContext .....
The same happend with the Serge version. If I change to older version of DPI API(webview/webview#527), no more Error1 but it ask for some dll missing
Error2(missing dll)
api-ms-win-core-libraryloader-l1-2-0.dll
api-ms-win-core-libraryloader-l 1-2-0.dll
I download those files( x64 ver ) and the new error
Error3
application cannot start correctly 0xc00005
The same happend with Serge version. The problem is that Webview2( microsoft original ) works perfect with windows 7 x64/x32. I test it. Why this happend? Something added to webviewpp/webview has a conflict with win7.
Any Ideas?
Thanks a Lot!
Hi, I would like to compile the simple/main.cpp example without Visual Studio. With MSVC cl.exe from command line.
It's possible?
Great job your webviewpp!
Thanks
Diego.
Hi,
I am trying to open multiple webview window but Sound WebView::setup() returns false if more than webview instance will be created. What might be the problem?
Thanks
#include <iostream>
#include <webview.hpp>
int main()
{
SounduxWebView webview;
webview.setup(800, 900);
webview.setTitle("Example");
webview.enableDevTools(true);
// Call me using the dev tools!
webview.addCallback("testCallback", [](const std::string &someString, int someInt) {
std::cout << "Got " << someString << " and " << someInt;
return someInt * 10;
});
webview.navigate("https://ddg.gg");
webview.run();
SounduxWebView webview2;
webview2.setup(800, 900); // <- this returns false and app crashes
webview2.setTitle("Example");
webview2.enableDevTools(true);
// Call me using the dev tools!
webview2.addCallback("testCallback", [](const std::string &someString, int someInt) {
std::cout << "Got " << someString << " and " << someInt;
return someInt * 10;
});
webview2.navigate("https://ddg.gg");
webview2.run();
return 0;
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.