Click here to Skip to main content
15,904,339 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Getting the information, if a softwrare is "running as administartor" (C++ / Windows Vista) Pin
graypx24-Jun-08 6:12
graypx24-Jun-08 6:12 
GeneralSTA component call MTA component Pin
George_George30-Mar-08 3:38
George_George30-Mar-08 3:38 
Generalgetting pixel(s) directly from the screen Pin
shja8830-Mar-08 3:26
shja8830-Mar-08 3:26 
GeneralRe: getting pixel(s) directly from the screen Pin
CPallini30-Mar-08 3:53
mveCPallini30-Mar-08 3:53 
GeneralRe: getting pixel(s) directly from the screen Pin
shja8830-Mar-08 4:13
shja8830-Mar-08 4:13 
QuestionRe: getting pixel(s) directly from the screen Pin
Hamid_RT7-Apr-08 2:31
Hamid_RT7-Apr-08 2:31 
Generalauto_ptr assignment compile error Pin
George_George30-Mar-08 0:51
George_George30-Mar-08 0:51 
GeneralRe: auto_ptr assignment compile error Pin
CPallini30-Mar-08 1:33
mveCPallini30-Mar-08 1:33 
IMHO your analysis is correct (both point 1 and 2. However, with regard to point 1, my interpretation is: since Goo copy constructor declares its argument const, then its content cannot be modified, but assigment operator of auto_ptr modify its argument, hence the problem).



George_George wrote:
What makes me confused is it seems the compile error message does not reflect my analysis (1) and (2) above. Any ideas?

I think that (it's just an hypothesis), since no auto_ptr copy constructor can match the this -> pf = input.pf;, the compiler tries to search for an assignment operator match, but it fails again and gives such error.

Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


GeneralRe: auto_ptr assignment compile error Pin
George_George30-Mar-08 2:38
George_George30-Mar-08 2:38 
GeneralRe: auto_ptr assignment compile error Pin
CPallini30-Mar-08 2:43
mveCPallini30-Mar-08 2:43 
GeneralRe: auto_ptr assignment compile error Pin
George_George30-Mar-08 2:49
George_George30-Mar-08 2:49 
Generalthe debug problem in VC++ Pin
wendyyue29-Mar-08 23:19
wendyyue29-Mar-08 23:19 
GeneralRe: the debug problem in VC++ Pin
Cedric Moonen29-Mar-08 23:51
Cedric Moonen29-Mar-08 23:51 
GeneralRe: the debug problem in VC++ Pin
rp_suman30-Mar-08 1:06
rp_suman30-Mar-08 1:06 
GeneralRe: the debug problem in VC++ Pin
Saurabh.Garg30-Mar-08 1:59
Saurabh.Garg30-Mar-08 1:59 
GeneralRe: the debug problem in VC++ Pin
David Crow30-Mar-08 2:54
David Crow30-Mar-08 2:54 
GeneralRe: the debug problem in VC++ Pin
Hamid_RT7-Apr-08 2:29
Hamid_RT7-Apr-08 2:29 
GeneralCustom C++ Runtime Pin
Richard Andrew x6429-Mar-08 14:24
professionalRichard Andrew x6429-Mar-08 14:24 
GeneralRe: Custom C++ Runtime Pin
Mark Salsbery29-Mar-08 14:28
Mark Salsbery29-Mar-08 14:28 
GeneralRe: Custom C++ Runtime Pin
Randor 29-Mar-08 19:25
professional Randor 29-Mar-08 19:25 
GeneralRe: Custom C++ Runtime Pin
Hamid_RT7-Apr-08 2:30
Hamid_RT7-Apr-08 2:30 
GeneralRegisterWindowClass and resources from a DLL Pin
Moak29-Mar-08 13:19
Moak29-Mar-08 13:19 
GeneralRe: RegisterWindowClass and resources from a DLL Pin
Mark Salsbery29-Mar-08 14:57
Mark Salsbery29-Mar-08 14:57 
GeneralRe: RegisterWindowClass and resources from a DLL Pin
Moak29-Mar-08 15:20
Moak29-Mar-08 15:20 
GeneralRe: RegisterWindowClass and resources from a DLL Pin
Mark Salsbery29-Mar-08 16:01
Mark Salsbery29-Mar-08 16:01 

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.