Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CFileDialog Pin
Rajesh R Subramanian13-Feb-08 20:24
professionalRajesh R Subramanian13-Feb-08 20:24 
GeneralRe: CFileDialog Pin
T.RATHA KRISHNAN13-Feb-08 20:21
T.RATHA KRISHNAN13-Feb-08 20:21 
General_variant_t AND FieldPtr Pin
Paulraj G13-Feb-08 18:34
Paulraj G13-Feb-08 18:34 
GeneralRe: _variant_t AND FieldPtr Pin
xcavin13-Feb-08 18:51
xcavin13-Feb-08 18:51 
GeneralRe: _variant_t AND FieldPtr Pin
zengkun10013-Feb-08 19:31
zengkun10013-Feb-08 19:31 
GeneralRe: _variant_t AND FieldPtr Pin
Paulraj G13-Feb-08 19:42
Paulraj G13-Feb-08 19:42 
GeneralRe: _variant_t AND FieldPtr Pin
Paulraj G13-Feb-08 19:49
Paulraj G13-Feb-08 19:49 
Generalunique pointer issue Pin
George_George13-Feb-08 17:59
George_George13-Feb-08 17:59 
Hello everyone,


Could anyone help to explain what does the two rules for unique pointer mean?


http://msdn2.microsoft.com/en-us/library/aa367294(VS.85).aspx

1.

Especially confused about "before the call"

Can use existing memory on the client without allocating new memory. When a unique pointer changes during a call from one non-NULL value to another, the pointer is assumed to point to a data object of the same type. Data returned from the server is written into existing storage specified by the value of the unique pointer before the call.

2.

Can orphan memory on the client. Memory referenced by a non-NULL unique pointer may never be freed if the unique pointer changes to NULL during a call and the client does not have another means of dereferencing the storage.


thanks in advance,
George
GeneralCListCtrl (LVS_ICON style) item size problem Pin
followait13-Feb-08 17:07
followait13-Feb-08 17:07 
GeneralRe: CListCtrl (LVS_ICON style) item size problem Pin
Hamid_RT13-Feb-08 18:14
Hamid_RT13-Feb-08 18:14 
GeneralRe: CListCtrl (LVS_ICON style) item size problem Pin
followait13-Feb-08 20:09
followait13-Feb-08 20:09 
GeneralRe: CListCtrl (LVS_ICON style) item size problem Pin
zengkun10013-Feb-08 18:49
zengkun10013-Feb-08 18:49 
GeneralRe: CListCtrl (LVS_ICON style) item size problem [modified] Pin
followait13-Feb-08 20:09
followait13-Feb-08 20:09 
GeneralRe: CListCtrl (LVS_ICON style) item size problem Pin
zengkun10013-Feb-08 20:32
zengkun10013-Feb-08 20:32 
GeneralRe: CListCtrl (LVS_ICON style) item size problem Pin
followait14-Feb-08 2:12
followait14-Feb-08 2:12 
GeneralRe: CListCtrl (LVS_ICON style) item size problem Pin
zengkun10014-Feb-08 14:26
zengkun10014-Feb-08 14:26 
GeneralPrint Preview and "x"-Button Pin
AnTri13-Feb-08 12:09
AnTri13-Feb-08 12:09 
GeneralRe: Print Preview and "x"-Button Pin
Mark Salsbery13-Feb-08 12:19
Mark Salsbery13-Feb-08 12:19 
GeneralRe: Print Preview and "x"-Button Pin
led mike13-Feb-08 13:24
led mike13-Feb-08 13:24 
GeneralRe: Print Preview and "x"-Button Pin
Mark Salsbery13-Feb-08 13:26
Mark Salsbery13-Feb-08 13:26 
GeneralRe: Print Preview and "x"-Button Pin
led mike13-Feb-08 13:32
led mike13-Feb-08 13:32 
QuestionPermanent System wide hook Pin
Alberto Bar-Noy13-Feb-08 9:14
Alberto Bar-Noy13-Feb-08 9:14 
GeneralRe: Permanent System wide hook Pin
led mike13-Feb-08 10:38
led mike13-Feb-08 10:38 
GeneralRe: Permanent System wide hook Pin
Rajesh R Subramanian13-Feb-08 18:54
professionalRajesh R Subramanian13-Feb-08 18:54 
GeneralRe: Permanent System wide hook Pin
Alberto Bar-Noy13-Feb-08 19:25
Alberto Bar-Noy13-Feb-08 19:25 

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.