Click here to Skip to main content
14,577,432 members

C / C++ / MFC

 
QuestionGet expanded macros from precompiler and insert as comments in source code? Pin
arnold_w27-May-20 20:14
Memberarnold_w27-May-20 20:14 
AnswerRe: Get expanded macros from precompiler and insert as comments in source code? Pin
Richard MacCutchan27-May-20 22:44
mveRichard MacCutchan27-May-20 22:44 
GeneralRe: Get expanded macros from precompiler and insert as comments in source code? Pin
arnold_w27-May-20 23:23
Memberarnold_w27-May-20 23:23 
GeneralRe: Get expanded macros from precompiler and insert as comments in source code? Pin
Richard MacCutchan27-May-20 23:34
mveRichard MacCutchan27-May-20 23:34 
QuestionHow to mount an ISO file with disc type - CD/DVD Pin
Member 1001484126-May-20 5:04
MemberMember 1001484126-May-20 5:04 
AnswerRe: How to mount an ISO file with disc type - CD/DVD Pin
jeron126-May-20 5:21
Memberjeron126-May-20 5:21 
QuestionProblem with pointers memory allocation on the same memory area Pin
Member 959508024-May-20 20:37
MemberMember 959508024-May-20 20:37 
AnswerRe: Problem with pointers memory allocation on the same memory area Pin
Stephane Capo24-May-20 21:19
MemberStephane Capo24-May-20 21:19 
Hello,

I'm not sure to understand how the "serialization" works in your exemple.

What is ar ?
ar >> m_pFont

m_pFont is a pointer, so in my opinion, there is no allocation here, only a pointer (ar) affected to another pointer (m_pFont). You probably have one instance of your font ( managed by your code or the library, I don't know ) referenced ( pointed ) by several m_pFont.
GeneralRe: Problem with pointers memory allocation on the same memory area Pin
Richard MacCutchan24-May-20 21:29
mveRichard MacCutchan24-May-20 21:29 
AnswerRe: Problem with pointers memory allocation on the same memory area Pin
Richard MacCutchan24-May-20 21:25
mveRichard MacCutchan24-May-20 21:25 
GeneralRe: Problem with pointers memory allocation on the same memory area Pin
Member 959508024-May-20 21:52
MemberMember 959508024-May-20 21:52 
AnswerRe: Problem with pointers memory allocation on the same memory area Pin
Member 959508024-May-20 22:40
MemberMember 959508024-May-20 22:40 
GeneralRe: Problem with pointers memory allocation on the same memory area Pin
Richard MacCutchan24-May-20 22:54
mveRichard MacCutchan24-May-20 22:54 
GeneralRe: Problem with pointers memory allocation on the same memory area Pin
Member 959508024-May-20 23:03
MemberMember 959508024-May-20 23:03 
GeneralRe: Problem with pointers memory allocation on the same memory area Pin
Richard MacCutchan24-May-20 23:19
mveRichard MacCutchan24-May-20 23:19 
GeneralRe: Problem with pointers memory allocation on the same memory area Pin
Member 95950801-Jun-20 20:36
MemberMember 95950801-Jun-20 20:36 
AnswerRe: Problem with pointers memory allocation on the same memory area Pin
phil.o25-May-20 0:21
mvephil.o25-May-20 0:21 
GeneralRe: Problem with pointers memory allocation on the same memory area Pin
Richard MacCutchan25-May-20 0:31
mveRichard MacCutchan25-May-20 0:31 
GeneralRe: Problem with pointers memory allocation on the same memory area Pin
Member 959508025-May-20 1:25
MemberMember 959508025-May-20 1:25 
GeneralRe: Problem with pointers memory allocation on the same memory area Pin
phil.o25-May-20 1:36
mvephil.o25-May-20 1:36 
GeneralRe: Problem with pointers memory allocation on the same memory area Pin
Richard MacCutchan25-May-20 1:46
mveRichard MacCutchan25-May-20 1:46 
AnswerRe: Problem with pointers memory allocation on the same memory area Pin
Member 95950801-Jun-20 20:42
MemberMember 95950801-Jun-20 20:42 
QuestionPrinting With Crystal Report Pin
a_alise21-May-20 11:09
Membera_alise21-May-20 11:09 
AnswerRe: Printing With Crystal Report Pin
_Flaviu22-May-20 0:12
Member_Flaviu22-May-20 0:12 
QuestionDynamic Created CEdit using CreateEx Pin
Beginner_mfc20-May-20 3:48
MemberBeginner_mfc20-May-20 3:48 

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.