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 compiling and building?
What is the difference between Synchronous sockets and asynchronous sockets?
Difference between Debug and Release versions?
how to repaint when working with horizontal scroll bar
What is #progma and where it is used?
Have you ever used win32 APIs ?
What types of threads are supported by MFC framework?
What does mfc stand for?
Difference between Cclint DC & Cpaint Dc
What is the difference between regular dlls and extended dlls?
What are the advantages of using Doc/View or SDI over DialogBox
Whats is DDX & DDV in MFC?