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 |
1) create ToolTip in MFC?
What is the base class for MFC
What are the special requirements for dialog box resources used in a form view?
How you find memory leaks?
What is a message map, and what is the advantage of a message map over virtual functions?
What?s the difference between Modal and Modeless Dialog?
If application hangs while SendMessage is waiting for the result, how you handle it?
List out the parameters of WinMain Function.
Can you explaing the relashionship between document,frame and view ?
How to update windows title bar dynamically?
what is the use of CCmdTarget?
How you create a button dynamically?