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

2.create for 10 batch: Employee_Number Employee_name Employee_Dateofjoining Employee_address Employee_salary 1.select the employee name who deriving more than 10 thousand salary and joined before august 08. use structure and pointers

0 Answers   TCS,


What is Multithreading

1 Answers   Invensys,


What is the base class for MFC Framework ?

4 Answers  


Difference between Debug and Release versions?

4 Answers  


if i modified data in 1 view how does the other view knows

2 Answers   Siemens,


what is the meaning of constant FILE EXCEEDS LENGTH LIMIT while loading from ps file to vsam in the jcl?

0 Answers  


how to repaint when working with horizontal scroll bar

0 Answers  


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

5 Answers   Alstom,


Differ GetMessage, PostMessage & PeakMessage?

4 Answers   Symphony,


How to handle RTTI in MFC ?

1 Answers  


What is the range of intensity of RGB

1 Answers  


Tell me the work of HTREDUCE and HTZOOM

1 Answers   E Logic,


Categories