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

C / C++ / MFC

 
GeneralHelp: Performance Counter (PerfLib) 8-Byte Alignment Warning (Event ID 1016) Pin
Gaul18-Nov-02 13:32
Gaul18-Nov-02 13:32 
QuestionHow do you prevent font size change while scaling DC? Pin
Miguel Lopes18-Nov-02 13:13
Miguel Lopes18-Nov-02 13:13 
GeneralGUI Leaks Pin
Matthew R. Miller18-Nov-02 12:25
Matthew R. Miller18-Nov-02 12:25 
GeneralRe: GUI Leaks Pin
Christian Graus18-Nov-02 12:38
protectorChristian Graus18-Nov-02 12:38 
GeneralSaving a tree control Pin
Russell Thorburn18-Nov-02 11:23
sussRussell Thorburn18-Nov-02 11:23 
GeneralRe: Saving a tree control Pin
Joaquín M López Muñoz18-Nov-02 11:30
Joaquín M López Muñoz18-Nov-02 11:30 
GeneralDirectX problem Pin
Selevercin18-Nov-02 11:19
Selevercin18-Nov-02 11:19 
GeneralRe: DirectX problem Pin
Paul M Watt18-Nov-02 13:29
mentorPaul M Watt18-Nov-02 13:29 
From looking at the code, the g_Brick object may not be initialized properly, or the g_pDDSBack surface. The g_Brick variable is an object that has been created, but have you actually created a surface to initialize this object.

The while loop may have problems because either the g_pDDSFront variable is not initialized and you are calling from it, or the g_pDDSBack variable is somehow used in the Flip function.

If you want to send me your code, zip up the source files and the project and send it to kilowatt@prodigy.net and I will be happy to look at it.

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!

GeneralSubtle bug with static members... Pin
Jamie Hale18-Nov-02 10:54
Jamie Hale18-Nov-02 10:54 
GeneralRe: Subtle bug with static members... Pin
Christian Graus18-Nov-02 11:05
protectorChristian Graus18-Nov-02 11:05 
GeneralRe: Subtle bug with static members... Pin
Jamie Hale18-Nov-02 11:10
Jamie Hale18-Nov-02 11:10 
GeneralRe: Subtle bug with static members... Pin
Christian Graus19-Nov-02 10:08
protectorChristian Graus19-Nov-02 10:08 
GeneralRe: Subtle bug with static members... Pin
Jamie Hale18-Nov-02 11:05
Jamie Hale18-Nov-02 11:05 
GeneralRe: Subtle bug with static members... [corrected] Pin
Joaquín M López Muñoz18-Nov-02 11:06
Joaquín M López Muñoz18-Nov-02 11:06 
GeneralRe: Subtle bug with static members... [corrected] Pin
Jamie Hale18-Nov-02 11:11
Jamie Hale18-Nov-02 11:11 
GeneralRe: Subtle bug with static members... [corrected] Pin
Joaquín M López Muñoz18-Nov-02 11:19
Joaquín M López Muñoz18-Nov-02 11:19 
GeneralMessagebox and Manifest Pin
S van Leent18-Nov-02 10:48
S van Leent18-Nov-02 10:48 
GeneralRe: Messagebox and Manifest Pin
EVILkos13-Dec-09 2:31
EVILkos13-Dec-09 2:31 
GeneralCustom shaped dialogs Pin
Dean Michaud18-Nov-02 10:18
Dean Michaud18-Nov-02 10:18 
GeneralRe: Custom shaped dialogs Pin
Navin18-Nov-02 10:34
Navin18-Nov-02 10:34 
GeneralRe: Custom shaped dialogs Pin
Dean Michaud18-Nov-02 10:45
Dean Michaud18-Nov-02 10:45 
GeneralRe: Custom shaped dialogs Pin
Michael Dunn18-Nov-02 11:18
sitebuilderMichael Dunn18-Nov-02 11:18 
GeneralRe: Custom shaped dialogs Pin
Atlantys19-Nov-02 3:07
Atlantys19-Nov-02 3:07 
GeneralAdding MFC to a non-MFC project Pin
Dave_18-Nov-02 10:03
Dave_18-Nov-02 10:03 
GeneralRe: Adding MFC to a non-MFC project Pin
Navin18-Nov-02 10:37
Navin18-Nov-02 10:37 

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.