Click here to Skip to main content
16,011,542 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionException occurred when adding a manifest file to a VC6 project for xp style! [modified] Pin
jtasph2-Jun-08 4:33
jtasph2-Jun-08 4:33 
QuestionRe: Exception occurred when adding a manifest file to a VC6 project for xp style! Pin
David Crow2-Jun-08 4:39
David Crow2-Jun-08 4:39 
AnswerRe: Exception occurred when adding a manifest file to a VC6 project for xp style! Pin
prasad_som2-Jun-08 6:03
prasad_som2-Jun-08 6:03 
GeneralRe: Exception occurred when adding a manifest file to a VC6 project for xp style! Pin
jtasph2-Jun-08 15:34
jtasph2-Jun-08 15:34 
AnswerRe: Exception occurred when adding a manifest file to a VC6 project for xp style! Pin
jtasph2-Jun-08 17:23
jtasph2-Jun-08 17:23 
GeneralSome other exception. Pin
jtasph2-Jun-08 19:06
jtasph2-Jun-08 19:06 
QuestionD3DERR_OUTOFVIDEOMEMORY while D3DXCreateTextureFromFileEx() Pin
Hanan8882-Jun-08 4:27
Hanan8882-Jun-08 4:27 
AnswerRe: D3DERR_OUTOFVIDEOMEMORY while D3DXCreateTextureFromFileEx() Pin
Alan Balkany2-Jun-08 8:21
Alan Balkany2-Jun-08 8:21 
Your description suggests an unidentified memory leak. Look for something that's not being freed. Maybe delete needs to be called for one of these objects.

If you can't find it, you can try the Signal Flare debugging pattern: Here, for one statement that allocates something, temporarily replace it with a loop that allocates 50 of them. Free the 50 where you were originally freeing the single object.

Then run your program and count how many textures it takes to run out of memory. If it's 300, that statement isn't the memory leak, so go on to the next one. If it runs out of memory after 6 textures (300 / 50), you've found the leak.
GeneralRe: D3DERR_OUTOFVIDEOMEMORY while D3DXCreateTextureFromFileEx() Pin
Hanan8882-Jun-08 22:56
Hanan8882-Jun-08 22:56 
AnswerRe: D3DERR_OUTOFVIDEOMEMORY while D3DXCreateTextureFromFileEx() Pin
Rajkumar R2-Jun-08 21:39
Rajkumar R2-Jun-08 21:39 
GeneralRe: D3DERR_OUTOFVIDEOMEMORY while D3DXCreateTextureFromFileEx() Pin
Hanan8882-Jun-08 23:37
Hanan8882-Jun-08 23:37 
GeneralRe: D3DERR_OUTOFVIDEOMEMORY while D3DXCreateTextureFromFileEx() Pin
Hanan8883-Jun-08 0:54
Hanan8883-Jun-08 0:54 
GeneralRe: D3DERR_OUTOFVIDEOMEMORY while D3DXCreateTextureFromFileEx() Pin
Hanan8883-Jun-08 1:23
Hanan8883-Jun-08 1:23 
AnswerRe: D3DERR_OUTOFVIDEOMEMORY while D3DXCreateTextureFromFileEx() Pin
Rajkumar R3-Jun-08 2:41
Rajkumar R3-Jun-08 2:41 
GeneralRe: D3DERR_OUTOFVIDEOMEMORY while D3DXCreateTextureFromFileEx() Pin
Rajkumar R3-Jun-08 2:30
Rajkumar R3-Jun-08 2:30 
GeneralRe: D3DERR_OUTOFVIDEOMEMORY while D3DXCreateTextureFromFileEx() Pin
Hanan8883-Jun-08 2:57
Hanan8883-Jun-08 2:57 
GeneralRe: D3DERR_OUTOFVIDEOMEMORY while D3DXCreateTextureFromFileEx() Pin
Hanan8883-Jun-08 3:39
Hanan8883-Jun-08 3:39 
Questionwin32 window + dialog + messagebox Pin
Member 38254932-Jun-08 3:29
Member 38254932-Jun-08 3:29 
QuestionRe: win32 window + dialog + messagebox Pin
Mark Salsbery2-Jun-08 6:01
Mark Salsbery2-Jun-08 6:01 
AnswerRe: win32 window + dialog + messagebox Pin
Member 38254932-Jun-08 6:27
Member 38254932-Jun-08 6:27 
AnswerRe: win32 window + dialog + messagebox Pin
Member 38254932-Jun-08 6:30
Member 38254932-Jun-08 6:30 
GeneralRe: win32 window + dialog + messagebox Pin
Mark Salsbery2-Jun-08 6:40
Mark Salsbery2-Jun-08 6:40 
GeneralRe: win32 window + dialog + messagebox Pin
Member 38254932-Jun-08 6:59
Member 38254932-Jun-08 6:59 
GeneralRe: win32 window + dialog + messagebox Pin
Mark Salsbery2-Jun-08 7:06
Mark Salsbery2-Jun-08 7:06 
GeneralRe: win32 window + dialog + messagebox Pin
Member 38254932-Jun-08 7:10
Member 38254932-Jun-08 7:10 

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.