FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour IE
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
IE
Posted: Tue May 24, 2022 04:32 PM

Hi,

I completely forgot that Microsoft will disable IE on June 15. And I have a large application (xHarbour/BCC7) using ActiveX IE. Then I can take action !

Posts: 1515
Joined: Thu Oct 30, 2008 02:37 PM
Re: IE
Posted: Tue May 24, 2022 08:15 PM
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: IE
Posted: Tue May 24, 2022 08:35 PM

Thanks. I want to try webview.dll However, there are questions :
1. Where to download webview.dll ?
2. Is it possible to get the page as document ?
3. How to build a program with support webview.dll ?

Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: IE
Posted: Tue May 24, 2022 09:09 PM

hi

search in FiveWin Forum for WebView2.

greeting,

Jimmy
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: IE
Posted: Wed May 25, 2022 03:56 AM

Yes, I read this forum, but I didn't find any answers to my questions in it :(

Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: IE
Posted: Wed May 25, 2022 05:32 AM

hi,

Antonio have made a "Wrapper" for FiveWin from WebView2 which is the "Engine" of EDGE

you need to download "MicrosoftEdgeWebview2Setup.exe"
you have to search in FiveWin Forum for BCC ".Lib" while i use HMG and MinGW ".a"

as i only have run some Demo under HMG i can tell you more, sorry

greeting,

Jimmy
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: IE
Posted: Wed May 25, 2022 06:29 AM

I read the topic Using WebView with Borland !!!

viewtopic.php?f=3t=41143hilit=Webview2start=75

There Antonio shows the usage webview.dll

include "hbdyn.ch "

plib := hb_LibLoad( "webview.dll" ).
Only I didn't understand how to compile

&&&

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: IE
Posted: Wed May 25, 2022 11:05 AM

Dear Natter,

What issues do you have to compile it ?

Please post here the output ? Do you get errors ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: IE
Posted: Wed May 25, 2022 11:29 AM

Antonio, I don't have any mistakes yet!
I just wanted to ask :
1. where can I download webview.dll ?
2. How to compile via VS or via BCC7 ?

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: IE
Posted: Wed May 25, 2022 11:47 AM
Dear Natter,

First you have to download and install this:
https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section

Second, you have to download this webview.dll:
https://github.com/FiveTechSoft/FWH_tools/blob/master/webview.zip

Working example:
viewtopic.php?p=248148&sid=de65bf49536f575693b46c9b8767215d#p248148

You can use Borland or MSVC to build it. Whatever you prefer
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: IE
Posted: Wed May 25, 2022 11:59 AM

Edited: Fixed in the previous post

When I try to go to this address, I get a 404 error

https://github.com/webview/webview/tree/master/dll/x86

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: IE
Posted: Wed May 25, 2022 12:41 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: IE
Posted: Wed May 25, 2022 01:20 PM

Thanks, I downloaded everything. In IE, using the :GetProp("documet") method I could get the document of the open page. Is it possible to do this with webview ?

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: IE
Posted: Wed May 25, 2022 02:55 PM

First of all, is it working fine for you ?

Next, please explain what you need with more detail, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: IE
Posted: Thu May 26, 2022 12:02 PM

Installed Microsoft.WebView 2.Fixed Version Run time.101.0.1210.53.x86
Downloaded an example. Example works well.
Reassembled webview.prg (BCC7, FWH2012, 32)
When starting, an empty window appears for 3 seconds. Then the program closes without an error. (I tried both under Harbour and under xHarbor)