Click here to Skip to main content
15,909,242 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to capture End Process of task manager Pin
Wessam Fathi13-Apr-06 2:40
Wessam Fathi13-Apr-06 2:40 
Question[Message Deleted] Pin
Taruni11-Apr-06 23:45
Taruni11-Apr-06 23:45 
AnswerRe: Display the text in the center Pin
Cedric Moonen11-Apr-06 23:51
Cedric Moonen11-Apr-06 23:51 
AnswerRe: Display the text in the center Pin
Nishad S12-Apr-06 0:01
Nishad S12-Apr-06 0:01 
QuestionHelp me ! Question for variables in stack! Pin
Best Kiluyar11-Apr-06 23:37
Best Kiluyar11-Apr-06 23:37 
AnswerRe: Help me ! Question for variables in stack! Pin
Rage12-Apr-06 1:23
professionalRage12-Apr-06 1:23 
AnswerRe: Help me ! Question for variables in stack! Pin
Wessam Fathi12-Apr-06 1:28
Wessam Fathi12-Apr-06 1:28 
QuestionDynamic cast problem Pin
Abyss11-Apr-06 23:32
Abyss11-Apr-06 23:32 
I migrated my project to VC2005 and found a pretty strange problem. The code tries to dynamic cast an object and the result is NULL even the objet type is valid. E.g.

I have a following code:

class A;<br />
<br />
A* ptr = new A;<br />
...<br />
A* pTest = dynamic_cast<A*>(ptr);


pTest is NULL but in the debugger I can see that "ptr" is A.
The project has RTTI enabled.

Any idea what could be the problem?

Thanks, Abyss
AnswerRe: Dynamic cast problem Pin
Ștefan-Mihai MOGA12-Apr-06 0:44
professionalȘtefan-Mihai MOGA12-Apr-06 0:44 
AnswerRe: Dynamic cast problem Pin
sunit512-Apr-06 0:50
sunit512-Apr-06 0:50 
GeneralRe: Dynamic cast problem Pin
toxcct12-Apr-06 1:14
toxcct12-Apr-06 1:14 
GeneralRe: Dynamic cast problem Pin
sunit512-Apr-06 1:39
sunit512-Apr-06 1:39 
GeneralRe: Dynamic cast problem Pin
Abyss12-Apr-06 5:49
Abyss12-Apr-06 5:49 
AnswerRe: Dynamic cast problem Pin
Rage12-Apr-06 1:31
professionalRage12-Apr-06 1:31 
AnswerRe: Dynamic cast problem Pin
Stephen Hewitt12-Apr-06 4:44
Stephen Hewitt12-Apr-06 4:44 
QuestionCryptography Pin
kiran janaswamy11-Apr-06 23:27
kiran janaswamy11-Apr-06 23:27 
QuestionReinstance COM Object in C++ Pin
MarcoNedwig11-Apr-06 23:22
MarcoNedwig11-Apr-06 23:22 
AnswerRe: Reinstance COM Object in C++ Pin
RChin11-Apr-06 23:35
RChin11-Apr-06 23:35 
GeneralRe: Reinstance COM Object in C++ Pin
MarcoNedwig12-Apr-06 0:01
MarcoNedwig12-Apr-06 0:01 
GeneralRe: Reinstance COM Object in C++ Pin
RChin12-Apr-06 0:50
RChin12-Apr-06 0:50 
GeneralRe: Reinstance COM Object in C++ Pin
MarcoNedwig12-Apr-06 1:15
MarcoNedwig12-Apr-06 1:15 
QuestionUrgent - How do i programatically display submenu items window Pin
giftsana11-Apr-06 23:19
giftsana11-Apr-06 23:19 
AnswerRe: Urgent - How do i programatically display submenu items window Pin
kiran janaswamy11-Apr-06 23:32
kiran janaswamy11-Apr-06 23:32 
GeneralRe: Urgent - How do i programatically display submenu items window Pin
giftsana11-Apr-06 23:37
giftsana11-Apr-06 23:37 
GeneralRe: Urgent - How do i programatically display submenu items window Pin
thatsme_cool12-Apr-06 0:38
thatsme_cool12-Apr-06 0:38 

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.