Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Problem with WebView4Delphi in Delphi 7

Post Reply
odontonet
Posts: 2
Joined: Tue Oct 08, 2024 6:34 am

Problem with WebView4Delphi in Delphi 7

Post by odontonet »

Good morning. I have the following question. In a Delphi 7 application I use the WebView4Delphi component to display a website. The application is installed on a server in a shared folder on the network so that different users can connect to it.

What is happening is that the first user who connects can open the form where the WebView4Delphi component is located and can browse, the other users who connect later do not have the browser open, it is as if the dll used by the component was left in exclusive mode open by the first user who accessed it. What practice would you recommend to solve this?

Thank you in advance
User avatar
salvadordf
Posts: 4620
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Problem with WebView4Delphi in Delphi 7

Post by salvadordf »

Hi,

Try setting a different GlobalWebView2Loader.UserDataFolder value for each user.
Preferably a local directory in their computer.
odontonet
Posts: 2
Joined: Tue Oct 08, 2024 6:34 am

Re: Problem with WebView4Delphi in Delphi 7

Post by odontonet »

Thank you very much for the reply, it works fine.
Post Reply