Skip to content

harrier77/webview_bind_to_lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

webview_bind_to_lib

How to use Webview in Nim linked to dynamic library webview.so or webview.dll (instead of compiled as static library).

I found the nim code on this post on nim forum and I think it is very useful. It is possible to call a nim proc from a javascript function inside webview html page.

Compiled libraries can be found on github, for example here:
https://github.com/PierceNg/fpwebview/tree/master/dll/x86_64
or here:
https://github.com/webview/webview_csharp/tree/master

Compiling on Linux worked with the first library downloaded from github. In Windows I had to compile a dll library myself, from the original source of Serge WebView on Github here.

About

Serge Webview with a dynamic library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages