Click here to Skip to main content
15,896,912 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Variable sized dialog box Pin
Cedric Moonen3-May-04 20:21
Cedric Moonen3-May-04 20:21 
GeneralRe: Variable sized dialog box Pin
Xp3ll3d3-May-04 21:39
Xp3ll3d3-May-04 21:39 
GeneralLooking for "TV guide" class examples Pin
Brian R3-May-04 17:11
Brian R3-May-04 17:11 
GeneralWM_SETWINDOWTEXT Pin
alex.barylski3-May-04 17:06
alex.barylski3-May-04 17:06 
GeneralRe: WM_SETWINDOWTEXT Pin
alex.barylski3-May-04 17:23
alex.barylski3-May-04 17:23 
GeneralSimple question Pin
Anonymous3-May-04 14:16
Anonymous3-May-04 14:16 
GeneralRe: Simple question Pin
Jens Doose3-May-04 22:43
Jens Doose3-May-04 22:43 
GeneralCHttpFile Read Problem Pin
aman20063-May-04 13:46
aman20063-May-04 13:46 
Hi
When i read the returned data from the server in data chunks of 2048 size it is appending the server URL with each chunk read.I have the code like:
m_strResponseData.Empty();
do
{
memset(szBuf,0x00,sizeof(szBuf));
nBytesRead = pHttpFile->Read((void*) szBuf, CHUNK_SIZE);
m_strResponseData += szBuf;
if(nBytesRead < CHUNK_SIZE)
break;
}while(nBytesRead == CHUNK_SIZE);

But when i run this program in debug mode it is not appending any URL in the data returned but in release mode it is appending the server URL in each chunk read. I don't want server URL with every chunk size read.
Can any body tell me how is it appending the server URL with the data I read from the server.

Thanks
Shailesh
GeneralRe: CHttpFile Read Problem Pin
Michael Dunn3-May-04 15:16
sitebuilderMichael Dunn3-May-04 15:16 
GeneralRe: CHttpFile Read Problem Pin
aman20064-May-04 5:46
aman20064-May-04 5:46 
GeneralRe: CHttpFile Read Problem Pin
Michael Dunn4-May-04 6:05
sitebuilderMichael Dunn4-May-04 6:05 
GeneralIsValidURL and IsValidEmail Pin
alex.barylski3-May-04 13:07
alex.barylski3-May-04 13:07 
QuestionHow do I Pin
KORCARI3-May-04 11:24
KORCARI3-May-04 11:24 
AnswerRe: How do I Pin
User 66583-May-04 11:38
User 66583-May-04 11:38 
GeneralRe: How do I Pin
Terry O'Nolley3-May-04 15:55
Terry O'Nolley3-May-04 15:55 
QuestionHow do I Pin
KORCARI3-May-04 11:17
KORCARI3-May-04 11:17 
AnswerRe: How do I Pin
Christian Graus3-May-04 15:06
protectorChristian Graus3-May-04 15:06 
AnswerRe: How do I Pin
Snyp3-May-04 14:51
Snyp3-May-04 14:51 
GeneralRe: How do I Pin
Terry O'Nolley3-May-04 15:57
Terry O'Nolley3-May-04 15:57 
GeneralDirectory share mode Pin
Madmaximus3-May-04 10:58
Madmaximus3-May-04 10:58 
GeneralRe: Directory share mode Pin
valikac3-May-04 12:03
valikac3-May-04 12:03 
GeneralRe: Directory share mode Pin
David Crow4-May-04 2:15
David Crow4-May-04 2:15 
GeneralAre there Retriggerable Timers in VC++ Pin
jerry1211a3-May-04 10:26
jerry1211a3-May-04 10:26 
GeneralRe: Are there Retriggerable Timers in VC++ Pin
Madmaximus3-May-04 11:01
Madmaximus3-May-04 11:01 
Generalcasting problems for int Pin
roadragedave3-May-04 10:12
roadragedave3-May-04 10:12 

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.