webview-c icon indicating copy to clipboard operation
webview-c copied to clipboard

Is it possible to try and create the webview from a WINUI2 or WINUI3 window handle?

Open EliasDevSE opened this issue 3 years ago • 1 comments

I've been trying for a couple of days and now I've hit a wall where trying to pass a WINUI2 app window handle throws a catastrophic failure. image Or is there any other way to not create the webview in a separate window and just append it to the current hierarchy or was this library just intended for Win32 Applications?

EliasDevSE avatar Sep 20 '22 03:09 EliasDevSE

Hello,

Sorry for the delay and unfortunately I can't help you as I have never used WinUI applications.

The webview C library exposes OS agnostic APIs and so is not intended for Win32 applications. The library is intended to be used directly and will probably fail to work when used in a Win32 or WinUI app.

Hope it helps, have a good day, Samuel

javalikescript avatar Aug 12 '23 07:08 javalikescript