|
-
Apr 22nd, 2022, 06:03 AM
#10
Junior Member
Re: VB6 WebView2-Binding (Edge-Chromium)
I All,
I am not able to use the RC6 WebView2 from outside VB6. In VB6 (in the IDE and compiled) everything works correctly. The same if I use the "saturnian" control (an ocx encapsulating the RC6 WebView2). The problem is when I want to use the WebView2 from, for example, PowerBuilder. I've been using RC without problems in PB for a long time, but I can't get the WebView2 to work. When I call BindTo , the PB IDE crashes (the same in a compiled version) with the same error it gives to "avinash7" (error in ntdll.dll").
I have tested the AntView control (https://antview.dev/downloads/) which I believe uses the same mechanism (WebView2Loader.dll) and everything works correctly, both in VB6, PowerBuilder, even in an Excel userForm.
If I use the saturnian control in PowerBuilder, I get the error (just instantiate the control):
Attachment 184685
For what it's worth, in PowerBuilder's object browser, I can see all RC6 classes except "cWebView2":
Attachment 184686
However, the error does not occur when creating the cWebView2 object, but when calling BindTo (or when creating it by passing the hWnd parameter).
Any ideas?
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|