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 difference between ASSERT and VERIFY?
1)How to change the size of a button at run time ?
What is userdefine Messages in MFC?
How to update all the views whenver document got updated ?
What is CALLBACK? How it work? what is the advantage of CALLBACK, please explain with an example
Given two processes, how can they share memory?
Hi can anyone explain about the synchronization objects types and where we are using in the code.
1)dynamic creation of a Button ?
how u can move CDC pointer to one line in cview?
Does the application have more than one object? If no, then what is the reason?
What function is used to retrieve the currently selected index in a list box?
how many types of messages are their