IE

Natter
Posts: 1241
Joined: Mon May 14, 2007 9:49 am

IE

Post by Natter »

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 !
hmpaquito
Posts: 1482
Joined: Thu Oct 30, 2008 2:37 pm

Re: IE

Post by hmpaquito »

Natter
Posts: 1241
Joined: Mon May 14, 2007 9:49 am

Re: IE

Post by Natter »

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 ?
User avatar
Jimmy
Posts: 1740
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany
Has thanked: 2 times

Re: IE

Post by Jimmy »

hi

search in FiveWin Forum for WebView2.
greeting,
Jimmy
Natter
Posts: 1241
Joined: Mon May 14, 2007 9:49 am

Re: IE

Post by Natter »

Yes, I read this forum, but I didn't find any answers to my questions in it :(
User avatar
Jimmy
Posts: 1740
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany
Has thanked: 2 times

Re: IE

Post by Jimmy »

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
Natter
Posts: 1241
Joined: Mon May 14, 2007 9:49 am

Re: IE

Post by Natter »

I read the topic Using WebView with Borland !!!

viewtopic.php?f=3&t=41143&hilit=Webview2&start=75

There Antonio shows the usage webview.dll
#include "hbdyn.ch "
plib := hb_LibLoad( "webview.dll" ).
Only I didn't understand how to compile
User avatar
Antonio Linares
Site Admin
Posts: 42520
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: IE

Post by Antonio Linares »

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
Natter
Posts: 1241
Joined: Mon May 14, 2007 9:49 am

Re: IE

Post by Natter »

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 ?
User avatar
Antonio Linares
Site Admin
Posts: 42520
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: IE

Post by Antonio Linares »

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
Natter
Posts: 1241
Joined: Mon May 14, 2007 9:49 am

Re: IE

Post by Natter »

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
User avatar
Antonio Linares
Site Admin
Posts: 42520
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: IE

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
Natter
Posts: 1241
Joined: Mon May 14, 2007 9:49 am

Re: IE

Post by Natter »

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 ?
User avatar
Antonio Linares
Site Admin
Posts: 42520
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: IE

Post by Antonio Linares »

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
Natter
Posts: 1241
Joined: Mon May 14, 2007 9:49 am

Re: IE

Post by Natter »

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)
Post Reply