Hello Vlademi,
Thanks for your code, it works.
My project is to have an equivalent of Internet Explorer.
My code worked very well with IE but, now, Microsoft Edge has not activeX.
I use the commands of MS Edge.exe actually but it is not very good.
The webview2 HMG sample is not good for me.
My application works automatic 24h/24.
That I need with a secure browser code ( to not seem as a hacker ) :
1) Get all the links of the web page ( I do this with the html source ).
2) Accept all cookies.
3) Print to pdf the web page.
4) Get the body text of the web page ( optional : I convert the pdf file to txt ).
With Antview ocx and dBase, I can do this, but i prefer Harbour or HMG.
I am not good in C.
Regards,
Bernard.