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 |
Hi All, I have created one MFC Dialog Based application.now if i am running the application its working fine,instead of closing he application i minimized the application,if i run the application again,i am getting the Dialog. I want to prevent the calling of application multiple times. please give me the code and let me know in which method i need to make changes. Praveer
What is the base class for MFC Framework ?
What?s the difference between Modal and Modeless Dialog?
Explain in sort What is CTargetObject?
if no message handler is available for a message then will deal with the message ? does window proving any default mechanism?
1)does Frame Thickness in MFC?
What is a message map, and what is the advantage of a message map over virtual functions?
Explain StretchBlt and BitBlt
what is functioning of DIalodDataXchange ..?
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
List out the basic features of MFC.
What types of threads are supported by MFC framework?