Click here to Skip to main content
15,891,976 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How do you populate a combobox from a remote datasource? Pin
Terry O'Nolley10-Jul-03 10:37
Terry O'Nolley10-Jul-03 10:37 
GeneralDll and PreTranslateMessage Pin
Daishy10-Jul-03 7:11
Daishy10-Jul-03 7:11 
GeneralMS Visual C++ 6.0 problem Pin
djordj10-Jul-03 5:16
djordj10-Jul-03 5:16 
GeneralRe: MS Visual C++ 6.0 problem Pin
John M. Drescher10-Jul-03 5:18
John M. Drescher10-Jul-03 5:18 
GeneralRe: MS Visual C++ 6.0 problem Pin
Joan M10-Jul-03 7:15
professionalJoan M10-Jul-03 7:15 
GeneralRe: MS Visual C++ 6.0 problem Pin
djordj10-Jul-03 21:17
djordj10-Jul-03 21:17 
GeneralRe: MS Visual C++ 6.0 problem Pin
Joan M10-Jul-03 21:20
professionalJoan M10-Jul-03 21:20 
GeneralRookie VC++ Winsock with ASP Question Pin
Eta_Beta_Pi10-Jul-03 5:06
Eta_Beta_Pi10-Jul-03 5:06 
Hi,
Can anyone tell me how to call an ASP page from a VC++ winsock app?

I have the usual stuff in there at the moment:

WSADATA wsadata;
char Mesgback[10];
unsigned int length;
int nCode = WSAStartup(MAKEWORD(1,1), &wsadata);
u_long addy = inet_addr(szServer);

in_addr Address;
memcpy(&Address, &addy, sizeof(u_long));
SOCKET sd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
sockaddr_in sinRemote;
sinRemote.sin_family = AF_INET;
sinRemote.sin_addr.s_addr = addy;
sinRemote.sin_port = htons(portnum);

connect(sd, (sockaddr*)&sinRemote, sizeof(sockaddr_in));

But I need to call an ASP page as would be done via:

Example: http://www.somedomain.com/somepage.asp?req1=x&req2=y&req3=z

Where the asp page would do the normal request("req1") etc and then do some response.write and the client would then read them in.

Any ideas?

Many thanks in Advance.

Eta_Beta_Pi
GeneralRe: Rookie VC++ Winsock with ASP Question Pin
valikac10-Jul-03 6:16
valikac10-Jul-03 6:16 
GeneralRe: Rookie VC++ Winsock with ASP Question Pin
Eta_Beta_Pi10-Jul-03 8:24
Eta_Beta_Pi10-Jul-03 8:24 
GeneralRe: Rookie VC++ Winsock with ASP Question Pin
jan larsen11-Jul-03 0:39
jan larsen11-Jul-03 0:39 
GeneralUsing Com Port Pin
Nuehli10-Jul-03 3:52
Nuehli10-Jul-03 3:52 
GeneralRe: Using Com Port Pin
Nuehli10-Jul-03 4:06
Nuehli10-Jul-03 4:06 
GeneralRe: Using Com Port Pin
Cedric Moonen10-Jul-03 4:11
Cedric Moonen10-Jul-03 4:11 
GeneralRe: Using Com Port Pin
Nuehli10-Jul-03 4:20
Nuehli10-Jul-03 4:20 
GeneralRe: Using Com Port Pin
Cedric Moonen10-Jul-03 4:27
Cedric Moonen10-Jul-03 4:27 
GeneralRe: Using Com Port Pin
Ryan Binns10-Jul-03 4:17
Ryan Binns10-Jul-03 4:17 
GeneralHICON to CBitmap Pin
tommy670710-Jul-03 3:10
tommy670710-Jul-03 3:10 
GeneralRe: HICON to CBitmap Pin
Ryan Binns10-Jul-03 4:05
Ryan Binns10-Jul-03 4:05 
QuestionReplace scaling with SetWorldTransform? Pin
CodeBrain10-Jul-03 3:04
CodeBrain10-Jul-03 3:04 
AnswerRe: Replace scaling with SetWorldTransform? Pin
basementman10-Jul-03 7:16
basementman10-Jul-03 7:16 
GeneralRe: Replace scaling with SetWorldTransform? Pin
CodeBrain11-Jul-03 3:17
CodeBrain11-Jul-03 3:17 
QuestionHow to put existing vc++ program on the web? Pin
tiansun10-Jul-03 2:33
tiansun10-Jul-03 2:33 
AnswerRe: How to put existing vc++ program on the web? Pin
valikac10-Jul-03 6:19
valikac10-Jul-03 6:19 
AnswerRe: How to put existing vc++ program on the web? Pin
basementman10-Jul-03 7:18
basementman10-Jul-03 7:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.