Click here to Skip to main content
15,923,087 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Error C2664: 'GetVolumeInformationW' : cannot convert parameter 1 from 'const char [4]' to 'LPCWSTR' Pin
Rajesh R Subramanian17-Mar-08 3:29
professionalRajesh R Subramanian17-Mar-08 3:29 
GeneralRe: Error C2664: 'GetVolumeInformationW' : cannot convert parameter 1 from 'const char [4]' to 'LPCWSTR' Pin
J_E_D_I17-Mar-08 3:35
J_E_D_I17-Mar-08 3:35 
GeneralRe: Error C2664: 'GetVolumeInformationW' : cannot convert parameter 1 from 'const char [4]' to 'LPCWSTR' Pin
Michael Dunn17-Mar-08 20:09
sitebuilderMichael Dunn17-Mar-08 20:09 
GeneralRe: Error C2664: 'GetVolumeInformationW' : cannot convert parameter 1 from 'const char [4]' to 'LPCWSTR' Pin
J_E_D_I18-Mar-08 7:04
J_E_D_I18-Mar-08 7:04 
Generalname lookup ambiguity Pin
George_George17-Mar-08 2:09
George_George17-Mar-08 2:09 
GeneralRe: name lookup ambiguity Pin
CPallini17-Mar-08 2:37
mveCPallini17-Mar-08 2:37 
GeneralRe: name lookup ambiguity Pin
George_George17-Mar-08 2:44
George_George17-Mar-08 2:44 
GeneralRe: name lookup ambiguity Pin
CPallini17-Mar-08 3:08
mveCPallini17-Mar-08 3:08 
It was a (unsuccessful, I see Roll eyes | :rolleyes: ) pun. In OOP restricted access to a class member is denoted as Information Hiding, but you see there is actual hiding in your C++ code since derived class instance sees (even if it cannot access it) private foo member and therefore the ambiguity complains by the compiler.
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: name lookup ambiguity Pin
George_George17-Mar-08 19:26
George_George17-Mar-08 19:26 
QuestionStrange string problem ... Pin
User 78226217-Mar-08 1:32
professionalUser 78226217-Mar-08 1:32 
GeneralRe: Strange string problem ... Pin
CPallini17-Mar-08 1:44
mveCPallini17-Mar-08 1:44 
GeneralRe: Strange string problem ... Pin
ramana.g17-Mar-08 2:22
ramana.g17-Mar-08 2:22 
GeneralRe: Strange string problem ... Pin
User 78226217-Mar-08 3:03
professionalUser 78226217-Mar-08 3:03 
GeneralRe: Strange string problem ... Pin
David Crow17-Mar-08 3:37
David Crow17-Mar-08 3:37 
GeneralRe: Strange string problem ... Pin
User 78226217-Mar-08 3:05
professionalUser 78226217-Mar-08 3:05 
QuestionRe: Strange string problem ... Pin
CPallini17-Mar-08 3:15
mveCPallini17-Mar-08 3:15 
GeneralRe: Strange string problem ... Pin
User 78226217-Mar-08 3:23
professionalUser 78226217-Mar-08 3:23 
QuestionRe: Strange string problem ... Pin
Rajesh R Subramanian17-Mar-08 1:49
professionalRajesh R Subramanian17-Mar-08 1:49 
GeneralRe: Strange string problem ... Pin
User 78226217-Mar-08 3:18
professionalUser 78226217-Mar-08 3:18 
GeneralRe: Strange string problem ... Pin
MANISH RASTOGI17-Mar-08 1:49
MANISH RASTOGI17-Mar-08 1:49 
GeneralRe: Strange string problem ... Pin
User 78226217-Mar-08 4:11
professionalUser 78226217-Mar-08 4:11 
GeneralRe: Strange string problem ... Pin
Michael Dunn17-Mar-08 20:12
sitebuilderMichael Dunn17-Mar-08 20:12 
GeneralRe: Strange string problem ... Pin
User 78226218-Mar-08 3:50
professionalUser 78226218-Mar-08 3:50 
Generalabout PASSING PARAMETERS Pin
savitri17-Mar-08 1:08
savitri17-Mar-08 1:08 
QuestionRe: about PASSING PARAMETERS Pin
Maxwell Chen17-Mar-08 1:12
Maxwell Chen17-Mar-08 1:12 

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.