Click here to Skip to main content
15,886,780 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVC 2008 compiler errors [modified] - SOLVED Pin
Jim Crafton5-Dec-07 4:57
Jim Crafton5-Dec-07 4:57 
GeneralRe: VC 2008 compiler errors [modified] - SOLVED Pin
toxcct5-Dec-07 5:59
toxcct5-Dec-07 5:59 
Generalbackup network files - problem Pin
sgeocla5-Dec-07 3:58
sgeocla5-Dec-07 3:58 
QuestionHow do I load another programs Icon? Pin
RichardS715-Dec-07 2:23
RichardS715-Dec-07 2:23 
QuestionRe: How do I load another programs Icon? Pin
David Crow5-Dec-07 2:27
David Crow5-Dec-07 2:27 
GeneralRe: How do I load another programs Icon? Pin
Iain Clarke, Warrior Programmer5-Dec-07 3:36
Iain Clarke, Warrior Programmer5-Dec-07 3:36 
AnswerRe: How do I load another programs Icon? Pin
RichardS715-Dec-07 4:43
RichardS715-Dec-07 4:43 
GeneralCInternetSession Problem Pin
Amar Sutar5-Dec-07 1:15
Amar Sutar5-Dec-07 1:15 
Hi,

I am writing an appliction which downloads MJPEG stream from IP camera. My application supports many IP cameras at a time. So i need to download several URL at a time from single instance. But the problem is when I add my fifth camera my application gets hanged. So is there any limit on how many URLs we can open using CInternetSession's OpenURL method? From my application I am able to open upto 4 URLs for one instance. For fifth URL my application give "timeout" exception.

Code:

CStdioFile* m_pFile[5];
CInternetSession m_inetSession[5];


for(int iIndex = 0; iIndex < 5; ++iIndex)
{
m_pFile[iIndex] = m_inetSession[iIndex].OpenURL (cstrUrl, 1, INTERNET_FLAG_TRANSFER_BINARY | INTERNET_FLAG_RELOAD);
.
.
}


Thanks in Advance.

Amar Smile | :)
GeneralRe: CInternetSession Problem Pin
David Crow5-Dec-07 2:30
David Crow5-Dec-07 2:30 
GeneralRe: CInternetSession Problem Pin
Amar Sutar5-Dec-07 17:22
Amar Sutar5-Dec-07 17:22 
GeneralRe: CInternetSession Problem Pin
Mark Salsbery6-Dec-07 3:31
Mark Salsbery6-Dec-07 3:31 
GeneralRe: CInternetSession Problem Pin
Amar Sutar6-Dec-07 4:15
Amar Sutar6-Dec-07 4:15 
QuestionStruct or class? Pin
George_George5-Dec-07 0:50
George_George5-Dec-07 0:50 
AnswerRe: Struct or class? Pin
CPallini5-Dec-07 1:08
mveCPallini5-Dec-07 1:08 
AnswerRe: Struct or class? Pin
toxcct5-Dec-07 2:25
toxcct5-Dec-07 2:25 
AnswerRe: Struct or class? Pin
followait5-Dec-07 16:05
followait5-Dec-07 16:05 
QuestionHow to add a ComboBox to Browseinfo? Pin
moye25015-Dec-07 0:11
moye25015-Dec-07 0:11 
QuestionRe: How to add a ComboBox to Browseinfo? Pin
David Crow15-Jan-08 3:09
David Crow15-Jan-08 3:09 
Questionhow to add check boxes in multiple colums of a list ctrl Pin
Member 38696824-Dec-07 23:35
Member 38696824-Dec-07 23:35 
AnswerRe: how to add check boxes in multiple colums of a list ctrl Pin
followait5-Dec-07 0:29
followait5-Dec-07 0:29 
GeneralRe: how to add check boxes in multiple colums of a list ctrl Pin
Member 38696825-Dec-07 0:51
Member 38696825-Dec-07 0:51 
GeneralRe: how to add check boxes in multiple colums of a list ctrl Pin
followait5-Dec-07 16:19
followait5-Dec-07 16:19 
AnswerRe: how to add check boxes in multiple colums of a list ctrl Pin
David Crow5-Dec-07 2:35
David Crow5-Dec-07 2:35 
Questiontrace error Pin
keyto4-Dec-07 23:17
keyto4-Dec-07 23:17 
GeneralRe: trace error [modified] Pin
Nelek4-Dec-07 23:33
protectorNelek4-Dec-07 23:33 

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.