Jump to content

Recommended Posts

Posted

Apologies -here are a bunch on XAML libraries.  

Its been a while since I've looked at the library generator - I remember there were some issues around passing arrays that I wanted to fix.  I'll have a fresh look at that over the next couple of days, and then just release what I have so we've got something to work with!

XamlLibs.zip

Posted

Thanks @MattyD for the new "XamlLibs"

I've been trying to create a WebView using what you said in your previous post, but I'm also getting the error -2147467259 Unspecified Error (E_FAIL) right after this line of code:

Local $pControl = IWebViewFactory4_CreateInstanceWithExecutionMode($pCtrl_Fact, $mWebViewExecutionMode["SameThread"])

Since I'm in the dark on this, ... I can only stay tuned ... 🙂

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Posted

Hey Gianni,

quick update, it looks like the native "Windows.UI.Xaml.Controls.Webview" class is not supported within Xaml islands :( - but we *might* be able to drop in the external "Microsoft.UI.Xaml.Controls.WebView2" control. This is part of WinUI2 I believe.

Its a bit of a rabbit hole - there's WinUI2 and  WinUI3, which seems to be quite different.  As I understand it, WinUI3 is still being developed, but its supposed to provide controls for both Win32 and UAP apps. So that might negate the need for islands, and could be the better option in the long run I guess. (albeit we'll likely need dependencies or a runtime etc.)... Either way I'll throw a bit of time at this, it'll be interesting to see what we can tap into.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...