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

What is Multithreading

1 Answers   Invensys,


what is message Testing ?

1 Answers   L&T,


What function is used to retrieve the currently selected index in a list box?

2 Answers  


what if we provide two message handler for same message ?

1 Answers  


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?

1 Answers  


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

3 Answers   HP,


How to access document object from view ?

1 Answers  


what is the difference between compiling and building?

1 Answers  


1)why we cant create more than one instance of the class Derived from CWinApp

5 Answers   Alstom,


List out the basic features of MFC.

4 Answers   Mphasis,


What is the command routing in MFC framework?

3 Answers  


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

0 Answers  


Categories