Click here to Skip to main content
15,921,884 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: .NET runtime environments Pin
Joaquín M López Muñoz2-Feb-03 10:17
Joaquín M López Muñoz2-Feb-03 10:17 
GeneralOpenGL and VS.NET Pin
Michael A. Barnhart2-Feb-03 9:21
Michael A. Barnhart2-Feb-03 9:21 
GeneralRe: OpenGL and VS.NET Pin
Ben Burnett3-Feb-03 10:41
Ben Burnett3-Feb-03 10:41 
GeneralRe: OpenGL and VS.NET Pin
Michael A. Barnhart3-Feb-03 15:10
Michael A. Barnhart3-Feb-03 15:10 
GeneralDirectDraw Surface with Back Buffer Pin
Compuholic2-Feb-03 9:17
Compuholic2-Feb-03 9:17 
GeneralRe: DirectDraw Surface with Back Buffer Pin
Paul M Watt2-Feb-03 9:52
mentorPaul M Watt2-Feb-03 9:52 
GeneralRe: DirectDraw Surface with Back Buffer Pin
Compuholic2-Feb-03 10:30
Compuholic2-Feb-03 10:30 
GeneralRe: DirectDraw Surface with Back Buffer Pin
Paul M Watt2-Feb-03 12:36
mentorPaul M Watt2-Feb-03 12:36 
Compuholic wrote:
If I use DDSCL_NORMAL the CreateSurface function still fails. Is it possible that Double Buffering can't be done in a normal windowed application. I need some way to debug it

I am sorry, I didnt even think about that. You cannot use DirectDraws backbuffer support to do page flipping. You will need to do your own bitblt to the screen from the backbuffer.

Also, there are two ways to debug a full screen app, and neither one of them are available to a normal setup.

You can either use a Dual Monitor system, which is what I use.
Or you can use a second machine networked to the first machine and do remote debugging.

The Tetris Game that I wrote supports both modes if you want to look at that.

Good Luck


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralAuto sorting list control Pin
autekre2-Feb-03 8:41
autekre2-Feb-03 8:41 
Generalbrain-teaser (?) 'cloaked' pointers Pin
Anonymous2-Feb-03 6:59
Anonymous2-Feb-03 6:59 
GeneralRe: brain-teaser (?) 'cloaked' pointers Pin
Joaquín M López Muñoz2-Feb-03 7:09
Joaquín M López Muñoz2-Feb-03 7:09 
GeneralRe: brain-teaser (?) 'cloaked' pointers Pin
Joel Lucsy3-Feb-03 2:43
Joel Lucsy3-Feb-03 2:43 
QuestionComboBox and mousebutton? Pin
Stefan Dahlin2-Feb-03 4:52
Stefan Dahlin2-Feb-03 4:52 
AnswerRe: ComboBox and mousebutton? Pin
Michael Dunn2-Feb-03 6:11
sitebuilderMichael Dunn2-Feb-03 6:11 
GeneralRe: ComboBox and mousebutton? Pin
Stefan Dahlin2-Feb-03 6:20
Stefan Dahlin2-Feb-03 6:20 
AnswerRe: ComboBox and mousebutton? Pin
Gary R. Wheeler2-Feb-03 6:22
Gary R. Wheeler2-Feb-03 6:22 
Generalsplit Wnd Pin
smallcoder2-Feb-03 4:18
smallcoder2-Feb-03 4:18 
QuestionPreSubClassWindow() has no valid font on recreate? Pin
Moak2-Feb-03 2:05
Moak2-Feb-03 2:05 
AnswerRe: PreSubClassWindow() has no valid font on recreate? Pin
Moak3-Feb-03 0:48
Moak3-Feb-03 0:48 
QuestionHow can I load file.x from Listbox? Pin
poomred2-Feb-03 1:43
poomred2-Feb-03 1:43 
AnswerRe: How can I load file.x from Listbox? Pin
Gero Gerber2-Feb-03 2:01
Gero Gerber2-Feb-03 2:01 
AnswerRe: How can I load file.x from Listbox? Pin
Dominik Reichl2-Feb-03 2:39
Dominik Reichl2-Feb-03 2:39 
AnswerRe: How can I load file.x from Listbox? Pin
Abbas_Riazi2-Feb-03 4:11
professionalAbbas_Riazi2-Feb-03 4:11 
GeneralHandle to remote program Pin
pz7906102-Feb-03 0:32
pz7906102-Feb-03 0:32 
GeneralRe: Handle to remote program Pin
Abbas_Riazi2-Feb-03 3:49
professionalAbbas_Riazi2-Feb-03 3:49 

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.