Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to add tabs to CView Class? Pin
Sampath5796-Mar-18 21:51
Sampath5796-Mar-18 21:51 
GeneralRe: How to add tabs to CView Class? Pin
_Flaviu6-Mar-18 22:08
_Flaviu6-Mar-18 22:08 
GeneralRe: How to add tabs to CView Class? Pin
Sampath57910-Mar-18 22:15
Sampath57910-Mar-18 22:15 
GeneralRe: How to add tabs to CView Class? Pin
_Flaviu12-Mar-18 23:43
_Flaviu12-Mar-18 23:43 
QuestionSerializing CMapStringToPtr Pin
_Flaviu4-Mar-18 22:35
_Flaviu4-Mar-18 22:35 
AnswerRe: Serializing CMapStringToPtr Pin
CPallini4-Mar-18 23:29
mveCPallini4-Mar-18 23:29 
QuestionMSXML load - not able to read chinese characters in path Pin
Gopi Nath28-Feb-18 22:25
Gopi Nath28-Feb-18 22:25 
QuestionRe: MSXML load - not able to read chinese characters in path Pin
Richard MacCutchan28-Feb-18 22:52
mveRichard MacCutchan28-Feb-18 22:52 
AnswerRe: MSXML load - not able to read chinese characters in path Pin
Gopi Nath28-Feb-18 23:12
Gopi Nath28-Feb-18 23:12 
GeneralRe: MSXML load - not able to read chinese characters in path Pin
Richard MacCutchan28-Feb-18 23:15
mveRichard MacCutchan28-Feb-18 23:15 
GeneralRe: MSXML load - not able to read chinese characters in path Pin
Gopi Nath28-Feb-18 23:46
Gopi Nath28-Feb-18 23:46 
QuestionRe: MSXML load - not able to read chinese characters in path Pin
David Crow1-Mar-18 7:26
David Crow1-Mar-18 7:26 
AnswerRe: MSXML load - not able to read chinese characters in path Pin
Victor Nijegorodov1-Mar-18 10:24
Victor Nijegorodov1-Mar-18 10:24 
QuestionRe: MSXML load - not able to read chinese characters in path Pin
Randor 1-Mar-18 14:46
professional Randor 1-Mar-18 14:46 
AnswerRe: MSXML load - not able to read chinese characters in path Pin
Gopi Nath19-Mar-18 23:18
Gopi Nath19-Mar-18 23:18 
QuestionGiven two numbers say a and b. Print their XOR after making the lengths of their binary representation equal by adding trailing zeros to the binary representation of smaller one. Pin
Tarun Jha25-Feb-18 10:14
Tarun Jha25-Feb-18 10:14 
AnswerRe: Given two numbers say a and b. Print their XOR after making the lengths of their binary representation equal by adding trailing zeros to the binary representation of smaller one. Pin
Richard MacCutchan25-Feb-18 21:54
mveRichard MacCutchan25-Feb-18 21:54 
AnswerRe: Given two numbers say a and b. Print their XOR after making the lengths of their binary representation equal by adding trailing zeros to the binary representation of smaller one. Pin
CPallini25-Feb-18 23:17
mveCPallini25-Feb-18 23:17 
GeneralRe: Given two numbers say a and b. Print their XOR after making the lengths of their binary representation equal by adding trailing zeros to the binary representation of smaller one. Pin
Richard MacCutchan25-Feb-18 23:32
mveRichard MacCutchan25-Feb-18 23:32 
GeneralRe: Given two numbers say a and b. Print their XOR after making the lengths of their binary representation equal by adding trailing zeros to the binary representation of smaller one. Pin
CPallini25-Feb-18 23:53
mveCPallini25-Feb-18 23:53 
QuestionStrange Debugging results Pin
ForNow24-Feb-18 16:36
ForNow24-Feb-18 16:36 
In the C/C++ code below debugptr comes up as null however when I go into Disassembly the value return in register rax from __imp_Cwnd::FromHandle is correct as I place an eyecatcher "Debug" in CprogDebug and when I go to look at that memory address I can see that literal in the memory
more so when I got to rsi + 118h the value of the rax register is there

When I do a quickwatch in VS on Debugptr its NULL

BTW I do a get an exception utilizing debugptr as a pointer

C++
133:     debugptr = (CprogDebug *)temptr->GetOwner();

ASM
 00007FF635B24727 48 8B 88 98 00 00 00 mov         rcx,qword ptr [rax+98h]  
00007FF635B2472E 48 85 C9             test        rcx,rcx  
00007FF635B24731 75 0D                jne         CMypercolate::process_sdump+60h (07FF635B24740h)  
00007FF635B24733 48 8B 48 40          mov         rcx,qword ptr [rax+40h]  
00007FF635B24737 FF 15 A3 AC 00 00    call        qword ptr [__imp_GetParent (07FF635B2F3E0h)]  
00007FF635B2473D 48 8B C8             mov         rcx,rax  
00007FF635B24740 FF 15 BA B8 00 00    call        qword ptr [__imp_CWnd::FromHandle (07FF635B30000h)]  
00007FF635B24746 48 89 86 18 01 00 00 mov         qword ptr [rsi+118h],rax  

GeneralRe: Strange Debugging results Pin
Richard MacCutchan24-Feb-18 20:13
mveRichard MacCutchan24-Feb-18 20:13 
GeneralRe: Strange Debugging results Pin
ForNow24-Feb-18 20:38
ForNow24-Feb-18 20:38 
GeneralRe: Strange Debugging results Pin
Richard MacCutchan25-Feb-18 3:43
mveRichard MacCutchan25-Feb-18 3:43 
GeneralRe: Strange Debugging results Pin
ForNow25-Feb-18 5:15
ForNow25-Feb-18 5:15 

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.