Click here to Skip to main content
15,885,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to redirect Telnet and Ftp in windows Pin
Stuart Dootson24-Jun-09 3:08
professionalStuart Dootson24-Jun-09 3:08 
QuestionGetActiveWindow Pin
prithaa23-Jun-09 19:15
prithaa23-Jun-09 19:15 
AnswerRe: GetActiveWindow Pin
Naveen23-Jun-09 20:02
Naveen23-Jun-09 20:02 
GeneralRe: GetActiveWindow Pin
prithaa24-Jun-09 1:53
prithaa24-Jun-09 1:53 
Questionconvert wchar to CString& Pin
Rakesh523-Jun-09 18:59
Rakesh523-Jun-09 18:59 
AnswerRe: convert wchar to CString& Pin
«_Superman_»23-Jun-09 19:21
professional«_Superman_»23-Jun-09 19:21 
GeneralRe: convert wchar to CString& Pin
Rakesh523-Jun-09 19:36
Rakesh523-Jun-09 19:36 
GeneralRe: convert wchar to CString& Pin
Cedric Moonen23-Jun-09 20:10
Cedric Moonen23-Jun-09 20:10 
Rakesh5 wrote:
if i give like this xxx:yyy(str.getbuffer())


Arghh.... Never nevver use GetBuffer without having read the documentation of that function first. It doesn't make any sense to call this function here because the CString object already provides a cast operator to the same string type returned by the GetBuffer function. So, if passing the CString object directly is failing, calling the GetBuffer function will fail in the same way. Besides, doing that is really bad practice because this function is only inteded to get a way to access the internal buffer of the CString object, which is almost never needed (only in very rare conditions).

Cédric Moonen
Software developer

Charting control [v2.0]
OpenGL game tutorial in C++

GeneralRe: convert wchar to CString& Pin
Rajesh R Subramanian23-Jun-09 20:13
professionalRajesh R Subramanian23-Jun-09 20:13 
AnswerRe: convert wchar to CString& Pin
Cedric Moonen23-Jun-09 20:07
Cedric Moonen23-Jun-09 20:07 
GeneralRe: convert wchar to CString& Pin
Rakesh523-Jun-09 20:20
Rakesh523-Jun-09 20:20 
AnswerRe: convert wchar to CString& Pin
Rajesh R Subramanian23-Jun-09 20:12
professionalRajesh R Subramanian23-Jun-09 20:12 
QuestionTabbed control from Win 32 Pin
birajendu23-Jun-09 18:05
birajendu23-Jun-09 18:05 
QuestionC++ Compiler Warnings Pin
dipuks23-Jun-09 13:37
dipuks23-Jun-09 13:37 
AnswerRe: C++ Compiler Warnings Pin
Luc Pattyn23-Jun-09 14:09
sitebuilderLuc Pattyn23-Jun-09 14:09 
AnswerRe: C++ Compiler Warnings Pin
N a v a n e e t h23-Jun-09 15:56
N a v a n e e t h23-Jun-09 15:56 
GeneralRe: C++ Compiler Warnings Pin
David Crow24-Jun-09 3:11
David Crow24-Jun-09 3:11 
AnswerRe: C++ Compiler Warnings Pin
«_Superman_»23-Jun-09 16:26
professional«_Superman_»23-Jun-09 16:26 
AnswerRe: C++ Compiler Warnings Pin
KarstenK23-Jun-09 21:31
mveKarstenK23-Jun-09 21:31 
QuestionConsiderations and implementation of a method to copy the vector<t>::iterator</t> Pin
Cyrilix23-Jun-09 9:23
Cyrilix23-Jun-09 9:23 
AnswerRe: Considerations and implementation of a method to copy the vector::iterator Pin
Stuart Dootson23-Jun-09 9:28
professionalStuart Dootson23-Jun-09 9:28 
GeneralRe: Considerations and implementation of a method to copy the vector::iterator Pin
Cyrilix23-Jun-09 10:25
Cyrilix23-Jun-09 10:25 
GeneralRe: Considerations and implementation of a method to copy the vector::iterator Pin
Stuart Dootson23-Jun-09 10:33
professionalStuart Dootson23-Jun-09 10:33 
GeneralRe: Considerations and implementation of a method to copy the vector::iterator [modified] Pin
Michael Dunn23-Jun-09 14:41
sitebuilderMichael Dunn23-Jun-09 14:41 
GeneralRe: Considerations and implementation of a method to copy the vector::iterator Pin
Cyrilix23-Jun-09 15:03
Cyrilix23-Jun-09 15:03 

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.