Click here to Skip to main content
15,906,816 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to Adjust the dialog to align together? Pin
Hamid_RT16-Jul-06 0:50
Hamid_RT16-Jul-06 0:50 
GeneralRe: How to Adjust the dialog to align together? Pin
xuwenq8816-Jul-06 2:00
xuwenq8816-Jul-06 2:00 
GeneralRe: How to Adjust the dialog to align together? Pin
Hamid_RT16-Jul-06 2:56
Hamid_RT16-Jul-06 2:56 
GeneralRe: How to Adjust the dialog to align together? Pin
David Crow17-Jul-06 3:41
David Crow17-Jul-06 3:41 
AnswerRe: How to Adjust the dialog to align together? Pin
Gary R. Wheeler16-Jul-06 4:17
Gary R. Wheeler16-Jul-06 4:17 
GeneralRe: How to Adjust the dialog to align together? Pin
xuwenq8817-Jul-06 6:26
xuwenq8817-Jul-06 6:26 
GeneralRe: How to Adjust the dialog to align together? Pin
Gary R. Wheeler17-Jul-06 7:19
Gary R. Wheeler17-Jul-06 7:19 
QuestionGDI+ graphics->DrawLine erratic behavior?? Pin
KellyR15-Jul-06 19:14
KellyR15-Jul-06 19:14 
AnswerRe: GDI+ graphics->DrawLine erratic behavior?? Pin
Trollslayer15-Jul-06 20:00
mentorTrollslayer15-Jul-06 20:00 
GeneralRe: GDI+ graphics->DrawLine erratic behavior?? Pin
KellyR16-Jul-06 4:11
KellyR16-Jul-06 4:11 
AnswerRe: GDI+ graphics->DrawLine erratic behavior?? Pin
Hamid_RT16-Jul-06 1:51
Hamid_RT16-Jul-06 1:51 
GeneralRe: GDI+ graphics->DrawLine erratic behavior?? Pin
KellyR16-Jul-06 4:13
KellyR16-Jul-06 4:13 
GeneralRe: GDI+ graphics->DrawLine erratic behavior?? Pin
Hamid_RT16-Jul-06 9:34
Hamid_RT16-Jul-06 9:34 
AnswerRe: GDI+ graphics->DrawLine erratic behavior?? [modified] Pin
bob1697216-Jul-06 10:30
bob1697216-Jul-06 10:30 
GeneralRe: GDI+ graphics->DrawLine erratic behavior?? Pin
KellyR16-Jul-06 12:55
KellyR16-Jul-06 12:55 
QuestionCatching "R6025 - pure virtual function call error" using SEH Pin
Chintoo72315-Jul-06 18:06
Chintoo72315-Jul-06 18:06 
I am getting "R6025 - pure virtual function call error" somewhere in my code but I can't seem to catch it using SEH. Is this a known issue with SEH?

Here is an example to demonstrate this:
<br />
#include "stdafx.h"<br />
#include <assert.h><br />
<br />
/* Compile options needed: none<br />
   */ <br />
<br />
   class A;<br />
<br />
   void fcn( A* );<br />
<br />
   class A<br />
   {<br />
   public:<br />
       virtual void f() = 0;<br />
       A() { fcn( this ); }<br />
   };<br />
<br />
   class B : A<br />
   {<br />
       void f() { }<br />
   };<br />
<br />
   void fcn( A* p )<br />
   {<br />
       p->f();<br />
   }<br />
<br />
   // The declaration below invokes class B's constructor, which<br />
   // first calls class A's constructor, which calls fcn. Then<br />
   // fcn calls A::f, which is a pure virtual function, and<br />
   // this causes the run-time error. B has not been constructed<br />
   // at this point, so the B::f cannot be called. You would not<br />
   // want it to be called because it could depend on something<br />
   // in B that has not been initialized yet.<br />
<br />
int APIENTRY WinMain(HINSTANCE hInstance,<br />
                     HINSTANCE hPrevInstance,<br />
                     LPSTR     lpCmdLine,<br />
                     int       nCmdShow)<br />
{<br />
 	// TODO: Place code here.<br />
    __try {<br />
   B b;<br />
    }<br />
   __except(EXCEPTION_EXECUTE_HANDLER) {<br />
       assert (false);<br />
   }<br />
<br />
	return 0;<br />
}<br />
<br />


thanks!
AnswerRe: Catching "R6025 - pure virtual function call error" using SEH Pin
Mike Dimmick16-Jul-06 7:08
Mike Dimmick16-Jul-06 7:08 
Question\t char gives 3 spaces instead of 4 Pin
sphereboy15-Jul-06 15:06
sphereboy15-Jul-06 15:06 
AnswerRe: \t char gives 3 spaces instead of 4 Pin
led mike15-Jul-06 16:02
led mike15-Jul-06 16:02 
GeneralRe: \t char gives 3 spaces instead of 4 [modified] Pin
sphereboy15-Jul-06 16:14
sphereboy15-Jul-06 16:14 
GeneralRe: \t char gives 3 spaces instead of 4 Pin
led mike15-Jul-06 16:34
led mike15-Jul-06 16:34 
GeneralRe: \t char gives 3 spaces instead of 4 Pin
sphereboy15-Jul-06 19:36
sphereboy15-Jul-06 19:36 
GeneralRe: \t char gives 3 spaces instead of 4 Pin
led mike16-Jul-06 20:11
led mike16-Jul-06 20:11 
QuestionHow-to convert a Makefile into VC2005 express project? Pin
vgnogueira15-Jul-06 13:35
vgnogueira15-Jul-06 13:35 
AnswerRe: How-to convert a Makefile into VC2005 express project? Pin
Mike Dimmick16-Jul-06 7:14
Mike Dimmick16-Jul-06 7:14 

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.