branchseer / DeskGap

A cross-platform desktop app framework based on Node.js and the system webview
https://deskgap.com/
MIT License
1.83k stars 75 forks source link

Unmanaged implementation & MSHTML support for Windows #9

Open branchseer opened 5 years ago

branchseer commented 5 years ago

The current implementation is based on WinForms, C++/CLI and Microsoft.Toolkit.Forms.UI.Controls.WebView.

Related files:

Obviously a pure win32 implementation is better (shorter startup time, lower memory consumption). I just didn't know EdgeHTML WebView was possible in unmanaged Win32 applications until I saw how zserge/webview did it. <---- This link can be a great reference for DeskGap's implementation.

After the unmanaged implementation is done perhaps we can also provide a MSHTML WebView implementation as a fallback for lower versions of Windows. Delay-Loaded DLLs might be useful in this case.