Click here to Skip to main content
15,921,250 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: NT4 project to Win2k project Pin
Trollslayer (at work)23-Jul-02 6:21
Trollslayer (at work)23-Jul-02 6:21 
GeneralRe: NT4 project to Win2k project Pin
ikarus24-Jul-02 0:01
ikarus24-Jul-02 0:01 
GeneralCDC::GetTextExtent equivalent in GDI+ Pin
Williams23-Jul-02 2:48
Williams23-Jul-02 2:48 
GeneralRe: CDC::GetTextExtent equivalent in GDI+ Pin
567890123423-Jul-02 3:19
567890123423-Jul-02 3:19 
GeneralRe: CDC::GetTextExtent equivalent in GDI+ Pin
Williams23-Jul-02 3:35
Williams23-Jul-02 3:35 
GeneralI have a problem wint CSingleDocTemplate Pin
cycosi23-Jul-02 2:48
cycosi23-Jul-02 2:48 
QuestionIs this a genuine memory leak? Pin
Gavin Jerman23-Jul-02 2:44
Gavin Jerman23-Jul-02 2:44 
AnswerRe: Is this a genuine memory leak? Pin
Tim Smith23-Jul-02 2:58
Tim Smith23-Jul-02 2:58 
Yes, that will leak. "copy" will create a copy and then the assignment will create another copy since it can not assume that the original is free for ownership.

bstrB = bstrA;
bstrB .Attach (bstrA .copy ());
bstrB = bstrA .copy (false);

These should all work just fine. But I don't do a lot of _bstr_t work.

Tim Smith

"Programmers are always surrounded by complexity; we can not avoid it... If our basic tool, the language in which we design and code our programs, is also complicated, the language itself becomes part of the problem rather that part of the solution."
Hoare - 1980 ACM Turing Award Lecture
GeneralChanging to Landscape for Printing Pin
Desmond Mardle23-Jul-02 2:41
Desmond Mardle23-Jul-02 2:41 
GeneralRe: Changing to Landscape for Printing Pin
567890123423-Jul-02 3:23
567890123423-Jul-02 3:23 
GeneralImage size tracker problem Pin
chen23-Jul-02 2:02
chen23-Jul-02 2:02 
GeneralRe: Image size tracker problem Pin
chen23-Jul-02 2:13
chen23-Jul-02 2:13 
GeneralI'm a beginner,who can explain the VARIANT STRUCT to me? Thanx! Pin
glinda23-Jul-02 1:41
glinda23-Jul-02 1:41 
GeneralRe: I'm a beginner,who can explain the VARIANT STRUCT to me? Thanx! Pin
Navin23-Jul-02 2:23
Navin23-Jul-02 2:23 
GeneralRe: I'm a beginner,who can explain the VARIANT STRUCT to me? Thanx! Pin
glinda23-Jul-02 16:25
glinda23-Jul-02 16:25 
GeneralRe: I'm a beginner,who can explain the VARIANT STRUCT to me? Thanx! Pin
Le centriste23-Jul-02 3:39
Le centriste23-Jul-02 3:39 
GeneralStandard checkbox and radio images Pin
Aggtaa23-Jul-02 1:16
Aggtaa23-Jul-02 1:16 
GeneralPuzzling OnInitialUpdate() behavior for CHtmlView derived class Pin
Nish Nishant23-Jul-02 1:15
sitebuilderNish Nishant23-Jul-02 1:15 
GeneralRe: Puzzling OnInitialUpdate() ... [work-around] Pin
Nish Nishant23-Jul-02 1:39
sitebuilderNish Nishant23-Jul-02 1:39 
GeneralRe: Puzzling OnInitialUpdate() behavior for CHtmlView derived class Pin
Gavin Jerman23-Jul-02 4:16
Gavin Jerman23-Jul-02 4:16 
GeneralRe: Puzzling OnInitialUpdate() behavior for CHtmlView derived class Pin
Nish Nishant23-Jul-02 6:38
sitebuilderNish Nishant23-Jul-02 6:38 
GeneralGetting the class In the class view. Pin
grshankar23-Jul-02 1:13
grshankar23-Jul-02 1:13 
GeneralRe: Getting the class In the class view. Pin
567890123423-Jul-02 3:51
567890123423-Jul-02 3:51 
GeneralNo don't Pin
Abin23-Jul-02 12:40
Abin23-Jul-02 12:40 
QuestionHow to implement Drag and drop Pin
Bhikshapathi Gorantla23-Jul-02 0:53
Bhikshapathi Gorantla23-Jul-02 0:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.