Click here to Skip to main content
15,885,925 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: ComboBox / Win32 Pin
Fareed Rizkalla7-Apr-10 3:15
Fareed Rizkalla7-Apr-10 3:15 
QuestionRe: ComboBox / Win32 Pin
CPallini7-Apr-10 3:18
mveCPallini7-Apr-10 3:18 
AnswerRe: ComboBox / Win32 Pin
Sauro Viti7-Apr-10 6:54
professionalSauro Viti7-Apr-10 6:54 
QuestionWhy does GDI+ DrawString punch holes in the alpha channel? Pin
Code-o-mat7-Apr-10 2:24
Code-o-mat7-Apr-10 2:24 
QuestionSend request to open a http link Pin
Pryabu7-Apr-10 1:23
Pryabu7-Apr-10 1:23 
AnswerRe: Send request to open a http link Pin
eusto7-Apr-10 1:26
eusto7-Apr-10 1:26 
AnswerRe: Send request to open a http link Pin
Code-o-mat7-Apr-10 2:25
Code-o-mat7-Apr-10 2:25 
GeneralRe: Send request to open a http link [modified] Pin
Pryabu7-Apr-10 18:57
Pryabu7-Apr-10 18:57 
I want to send a request to another system to run a URL.I tried with following code. Its showing error like URL is invalid. But im able to open that URL from my machine.But not able to open that URL using this code.

CInternetSession objInetSession;
CHttpConnection *objhttp ;
CHttpFile *objFile;
char szURL[100];

while(1)
{

objhttp = objInetSession.GetHttpConnection ("http:////101.16.0.42/test/prelogin.aspx", INTERNET_FLAG_MAKE_PERSISTENT, INTERNET_INVALID_PORT_NUMBER,
NULL, NULL);

try
{
wsprintf(szURL,"%s","http:////101.16.0.242/test/prelogin.aspx");
CStdioFile* objStdFile = objInetSession.OpenURL(szURL,1,INTERNET_FLAG_TRANSFER_ASCII,NULL,0);
}
catch(CInternetException* exp)
{
exp->ReportError(MB_OK,0);
}

}
modified on Thursday, April 8, 2010 1:29 AM

GeneralRe: Send request to open a http link Pin
eusto8-Apr-10 0:18
eusto8-Apr-10 0:18 
GeneralRe: Send request to open a http link Pin
Pryabu8-Apr-10 21:10
Pryabu8-Apr-10 21:10 
Questionenum in .c-file Pin
LionAM7-Apr-10 1:06
LionAM7-Apr-10 1:06 
AnswerRe: enum in .c-file Pin
Eugen Podsypalnikov7-Apr-10 1:19
Eugen Podsypalnikov7-Apr-10 1:19 
GeneralRe: enum in .c-file Pin
LionAM7-Apr-10 2:05
LionAM7-Apr-10 2:05 
AnswerRe: enum in .c-file Pin
eusto7-Apr-10 1:22
eusto7-Apr-10 1:22 
AnswerRe: enum in .c-file Pin
CPallini7-Apr-10 1:33
mveCPallini7-Apr-10 1:33 
QuestionMaximum limit of char array? Pin
jannathali6-Apr-10 22:33
jannathali6-Apr-10 22:33 
QuestionRe: Maximum limit of char array? Pin
CPallini6-Apr-10 22:35
mveCPallini6-Apr-10 22:35 
AnswerRe: Maximum limit of char array? Pin
jannathali6-Apr-10 22:38
jannathali6-Apr-10 22:38 
GeneralRe: Maximum limit of char array? Pin
«_Superman_»6-Apr-10 22:42
professional«_Superman_»6-Apr-10 22:42 
GeneralRe: Maximum limit of char array? Pin
CPallini6-Apr-10 22:48
mveCPallini6-Apr-10 22:48 
AnswerRe: Maximum limit of char array? Pin
Cedric Moonen7-Apr-10 0:12
Cedric Moonen7-Apr-10 0:12 
AnswerRe: Maximum limit of char array? Pin
Rajesh R Subramanian7-Apr-10 0:18
professionalRajesh R Subramanian7-Apr-10 0:18 
QuestionMSXML Issue [modified] Pin
002comp6-Apr-10 19:07
002comp6-Apr-10 19:07 
AnswerRe: MSXML Issue Pin
CPallini6-Apr-10 21:41
mveCPallini6-Apr-10 21:41 
QuestionNeed to read big-endian file (Windows) Pin
o m n i6-Apr-10 15:06
o m n i6-Apr-10 15:06 

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.