Form Post from MFC dll to Aspx page
I am trying do this:
1) client downloads a MFC dll (GUI-less), loads information from his
personal information, ie a loan,
2) dll does a "Form post" to a aspx page, where the info will be parsed
out using something like Request.Form(). However, there will be no
response sent back to the dll,
3) when the user input additional info onto the aspx page, hit submit,
all info will be sent to another company's server, where a response
will be sent to my company's server.
Can someone shed some lights on how to do step 2, ie how to do a form
post or post without response from a MFC dll (I need to use MFC because
all of my company's code is built in MFC) to a aspx page?
You can use the MFC CHttpFile::SendRequest method to post an HTTP request.
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
But can this function bring up the aspx page also, ie gives control from the dll (client side) to the web page (server side)?
ShellExecute API can bring up a web page, basically it starts a default browser with the page you specified
By Razorlite in forum XML
Last Post: 05-02-2003, 12:39 PM
By taco Bill in forum .NET
Last Post: 01-09-2003, 08:36 PM
Last Post: 04-17-2002, 09:23 AM
Last Post: 10-22-2001, 08:34 PM
Last Post: 06-12-2001, 10:27 AM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center