-
Form Post from MFC dll to Aspx page
Hi,
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?
Thanks,
-
You can use the MFC CHttpFile::SendRequest method to post an HTTP request.
Phil Weber
http://www.philweber.com
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
Similar Threads
-
By Razorlite in forum XML
Replies: 1
Last Post: 05-02-2003, 12:39 PM
-
By taco Bill in forum .NET
Replies: 0
Last Post: 01-09-2003, 08:36 PM
-
Replies: 4
Last Post: 04-17-2002, 09:23 AM
-
Replies: 1
Last Post: 10-22-2001, 08:34 PM
-
Replies: 1
Last Post: 06-12-2001, 10:27 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks