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 Multithreading
what is message Testing ?
What function is used to retrieve the currently selected index in a list box?
what if we provide two message handler for same message ?
I have 2 threads. One thread prints odd numbers and the second thread prints even numbers. Now, I have to execute the threads alternatively so that i can output 1,2,3,4,5,6,..... write code for this?
How can update edit control data of an executing application from other application?
How to access document object from view ?
what is the difference between compiling and building?
1)why we cant create more than one instance of the class Derived from CWinApp
List out the basic features of MFC.
What is the command routing in MFC framework?
What is the difference between Struts and JSF? Pls list some most suitable differences.