Home > Back-end >  How to facing web passing parameters from the exe program?
How to facing web passing parameters from the exe program?

Time:10-24

In c + + builder, an application to the web page delivery status parameters, I now use the web call way, with the ShellExecute to open an address, because is used to pass state parameter, so don't want to web page display, excuse me what method does not let it show?
SW_HIDE, will jump out of the web page,
Or is there a better way?
Thank you very much!

CodePudding user response:

Use a winexec or createProcess

CodePudding user response:

Using TWebBrowser, or an Indy IDHttp

CodePudding user response:

# 1 method, it is not necessary to use components so burdensome

CodePudding user response:

Thank you, I use a hidden WebBrowser solved,
Using winexec and ShellExecute, could not hide the browser window,

CodePudding user response:

Still have a problem, I can use the webbrowser hidden under the Windows 7, open a webpage, but under the xp test, hidden webbrowser, open the web application is an error, not hide is not an error, it's strange that people know how to return a responsibility excuse me?

CodePudding user response:

What mistake?

CodePudding user response:

First chance exception d41fa at $006. The exception class $C0000005 with message 'access violation at 0 x006d41fa: read of address 0 x0000043c'. The Process MyPhone. Exe (1504).

CodePudding user response:

As continuous open address will go wrong, whether this control must be fully open the page to the next address again?
There is no other way to achieve this goal?
From exe program, to the web page delivery status parameters, parameters often change more frequently.
  • Related