Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



Will there be any difference in the image buffer size if it is loaded in from CString to LPTSTR us..

Answer / prashant

No there wont be any difference. Infact the first method is
preffered

Is This Answer Correct ?    2 Yes 0 No

Will there be any difference in the image buffer size if it is loaded in from CString to LPTSTR us..

Answer / abn reddy

use like this,
int nLen = string.GetLenght();
lptstr = string.GetBuffer(nLen);

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More MFC Interview Questions

Hi can anyone explain about the synchronization objects types and where we are using in the code.

1 Answers  


What interface must be supported by an ActiveX control?

2 Answers  


visual Pogramming c++ coding for create a paint application.. (Please someone help me)

2 Answers  


What is a message map, and what is the advantage of a message map over virtual functions?

1 Answers  


What is CSingleDocTemplate?

1 Answers  


What is Multithreading

1 Answers   Invensys,


How can we create thread in MFC framework?

3 Answers  


General purpose classes in MFC

1 Answers   TCS,


What is mfc class hierarchy?

0 Answers  


How many types of dialog box are their

10 Answers   Honeywell,


if both base and derived class have the constructors if i create an object for derive class which class constructor is executed first

10 Answers   Siemens, Symphony,


Explain StretchBlt and BitBlt

1 Answers  


Categories