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 OnInitialUpdate and OnUpdate?
How you create a button dynamically?
Does the application have more than one object? If Yes, Briefly explain.
How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?
what message is sent to an application when the user presses the primary button?
Tell me about different kinds of synchranization objects ?
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?
Explain the flow of SDI application?
What is subclassing?
what is the size of a process
if both base and derived class have the constructors if i create an object for derive class which class constructor is executed first
i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want to open a dialog when i select manage package and any other diaolg when selecting manage module ( whole selection is at run time only ) . Please HELP .its urgently required