pass string from c++ to asp page

How do I pass a string from c++ to an asp page?
eddiepardonAsked:
Who is Participating?
 
hclgroupConnect With a Mentor Commented:
#include <windows.h>

void main()
{
   ShellExecute(NULL, "open", "http://your_asp_page.asp?value='" + strValue + "'", NULL, NULL, SW_SHOWNORMAL);
}
0
 
hclgroupCommented:
Could you a little more specific about what you are trying to do?
0
 
eddiepardonAuthor Commented:
Basically I have a string named sUserID. I want to pass this string from the C++ Application to an ASP page that is called by the C++ Appl. After the asp page receives it, it will do some validation.
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
hclgroupCommented:
Do you need to get anything in return?
0
 
hclgroupCommented:
Is your asp page using post or get?
0
 
eddiepardonAuthor Commented:
Nothing needs to be returned. asp is using get (That can change if need be).
0
 
_iskywalker_Commented:
easier would be to save in a temp file.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.