Click here to Skip to main content
15,894,955 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSockets accepting connections Pin
29-Jun-02 5:10
suss29-Jun-02 5:10 
GeneralRe: Sockets accepting connections Pin
Mike Nordell30-Jun-02 0:04
Mike Nordell30-Jun-02 0:04 
GeneralRe: Sockets accepting connections Pin
Christopher Lord30-Jun-02 10:51
Christopher Lord30-Jun-02 10:51 
GeneralHtmlView Pin
28-Jun-02 23:52
suss28-Jun-02 23:52 
GeneralRe: HtmlView Pin
Ramu Pulipati29-Jun-02 4:59
Ramu Pulipati29-Jun-02 4:59 
QuestionDetecting all available display modes and storing them in an array of structs? Pin
Alan Chambers28-Jun-02 23:48
Alan Chambers28-Jun-02 23:48 
AnswerRe: Detecting all available display modes and storing them in an array of structs? Pin
Jason Henderson29-Jun-02 20:31
Jason Henderson29-Jun-02 20:31 
GeneralRe: Detecting all available display modes and storing them in an array of structs? Pin
Mike Nordell30-Jun-02 0:11
Mike Nordell30-Jun-02 0:11 
Jason Henderson wrote:
There aren't a whole lot of modes, why not just use a static array of say 50 DEVMODE structs?

Because it's wrong and will fail. Actually, a program (game demo) I tested just the other day had exactly this hardcoded limit and failed miserably. You weren't involved in that code by any chance? :->

At this machine (a plain NT5 machine with a reasonably good monitor) I currently have 144 different display modes. If I swicth to a "hotter" Gfx card I'll surely get over 200 different modes.

If you don't want your app to fail, don't use hard-coded limits for stuff like this.
GeneralRe: Detecting all available display modes and storing them in an array of structs? Pin
Jason Henderson1-Jul-02 4:31
Jason Henderson1-Jul-02 4:31 
AnswerRe: Detecting all available display modes and storing them in an array of structs? Pin
Mike Nordell30-Jun-02 0:15
Mike Nordell30-Jun-02 0:15 
GeneralRe: Detecting all available display modes and storing them in an array of structs? Pin
Alan Chambers1-Jul-02 7:29
Alan Chambers1-Jul-02 7:29 
GeneralCWinApp object Pin
Paul M Watt28-Jun-02 21:49
mentorPaul M Watt28-Jun-02 21:49 
GeneralRe: CWinApp object Pin
Alexandru Savescu28-Jun-02 22:04
Alexandru Savescu28-Jun-02 22:04 
GeneralRe: CWinApp object Pin
Paul M Watt28-Jun-02 22:23
mentorPaul M Watt28-Jun-02 22:23 
GeneralRe: CWinApp object Pin
Alexandru Savescu29-Jun-02 22:25
Alexandru Savescu29-Jun-02 22:25 
GeneralRe: CWinApp object Pin
Paul M Watt28-Jun-02 22:47
mentorPaul M Watt28-Jun-02 22:47 
Generalexport of Doc/View Arch Pin
surbinsho28-Jun-02 21:16
surbinsho28-Jun-02 21:16 
QuestionHow do I use Alt Tab in Full Screen App? Pin
28-Jun-02 20:52
suss28-Jun-02 20:52 
QuestionHow do i make iexplorer back or forward? Pin
brapler28-Jun-02 19:44
brapler28-Jun-02 19:44 
Generalunsigned char Pin
dhon28-Jun-02 18:37
dhon28-Jun-02 18:37 
GeneralRe: unsigned char Pin
Christian Graus28-Jun-02 22:53
protectorChristian Graus28-Jun-02 22:53 
GeneralRe: unsigned char Pin
Mike Nordell30-Jun-02 0:17
Mike Nordell30-Jun-02 0:17 
Generalserver socket problem, simple... Pin
includeh1028-Jun-02 17:44
includeh1028-Jun-02 17:44 
GeneralRe: server socket problem, simple... Pin
Christopher Lord28-Jun-02 20:40
Christopher Lord28-Jun-02 20:40 
GeneralRe: server socket problem, simple... Pin
includeh1029-Jun-02 16:02
includeh1029-Jun-02 16:02 

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.