Form Post from MFC dll to Aspx page

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Form Post from MFC dll to Aspx page

  1. #1
    Join Date
    Mar 2006

    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?


  2. #2
    Join Date
    Nov 2003
    Portland, OR
    You can use the MFC CHttpFile::SendRequest method to post an HTTP request.
    Phil Weber

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Mar 2006
    But can this function bring up the aspx page also, ie gives control from the dll (client side) to the web page (server side)?

  4. #4
    Join Date
    Apr 2006
    Zagreb, Croatia
    ShellExecute API can bring up a web page, basically it starts a default browser with the page you specified

Similar Threads

  1. Use XML sockets to post to asp page
    By Razorlite in forum XML
    Replies: 1
    Last Post: 05-02-2003, 12:39 PM
  2. Replies: 0
    Last Post: 01-09-2003, 08:36 PM
  3. form post with checkboxes
    By Andy in forum Web
    Replies: 4
    Last Post: 04-17-2002, 09:23 AM
  4. Replies: 1
    Last Post: 10-22-2001, 08:34 PM
  5. 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
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center