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 |
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?
What are the types of button controls?
What is the difference between workrer thread and UI thread
List out the basic features of MFC.
Hi All, i am new for VC++ SDK. i want to get the IP Address of all the External device connected with my local machine.please give the code Regards, Praveer
how many types of classes are ther,what are that
How to create a Modeless Dialog?
I want recent paper pattern for HP company?
what is message loop how mfc does it internally?
1)How to load an icon on a button as Dynamically ?
Explain in sort What is CTargetObject?
Hi can anyone explain about the synchronization objects types and where we are using in the code.