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

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,


In SDI how many view's are attached to document object and in MDI how many view's are attached to Document object?

2 Answers   Wipro,


Why not virtual functions to handle messages?

5 Answers  


What is the base class for MFC Framework ?

2 Answers   Mphasis,


How can update edit control data of an executing application from other application?

3 Answers   HP,


How to update all the views whenver document got updated ?

1 Answers  


What is CALLBACK? How it work? what is the advantage of CALLBACK, please explain with an example

6 Answers  


What is the difference between Struts and JSF? Pls list some most suitable differences.

0 Answers  


1)How to load an icon on a button as Dynamically ?

1 Answers   HCL,


Whats is DDX & DDV in MFC?

1 Answers   HCL,


how u can move CDC pointer to one line in cview?

2 Answers  


if no message handler is available for a message then will deal with the message ? does window proving any default mechanism?

2 Answers   Patni,


Categories