Will there be any difference in the image buffer size if it
is loaded in from CString to LPTSTR using GetBuffer()?
lptstr = string.GetBuffer(0);
Answers were Sorted based on User's Feedback
Answer / prashant
No there wont be any difference. Infact the first method is
preffered
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / abn reddy
use like this,
int nLen = string.GetLenght();
lptstr = string.GetBuffer(nLen);
Is This Answer Correct ? | 0 Yes | 1 No |
what is the use of Mutex and critical section
1)How to change the size of a button at run time ?
What MFC base classes provide support for ActiveX controls?
1) Enable or disable a Cancel button at run time?
What is userdefine Messages in MFC?
What is the difference between the Encapsulation and Abstraction
25 Answers HCL, Invensys, TCS, Wipro,
Why Array Index starts from Zero
WHAT IS DIFFERENT BETWEN RELEASE MODE & DEBUGGING MODE
4 Answers Google, Microsoft, TCS,
What is the difference between the ASSERT and VERIFY macros?
Whats is DDX & DDV in MFC?
What function is used to disable a control at runtime?
What is CALLBACK? How it work? what is the advantage of CALLBACK, please explain with an example