Click here to Skip to main content
16,005,682 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WTL::ProgressBarCtrl Question Pin
Michael Dunn18-Jun-02 15:35
sitebuilderMichael Dunn18-Jun-02 15:35 
GeneralRe: WTL::ProgressBarCtrl Question Pin
Ed K20-Jun-02 8:22
Ed K20-Jun-02 8:22 
GeneralLooking for a Graph Control Pin
Jim Crafton18-Jun-02 6:54
Jim Crafton18-Jun-02 6:54 
Generalchar array confusion Pin
Simon Walton18-Jun-02 5:36
Simon Walton18-Jun-02 5:36 
GeneralRe: char array confusion Pin
Chris Losinger18-Jun-02 5:42
professionalChris Losinger18-Jun-02 5:42 
GeneralRe: char array confusion Pin
Simon Walton18-Jun-02 5:45
Simon Walton18-Jun-02 5:45 
GeneralHELP! Catching Events Pin
18-Jun-02 4:36
suss18-Jun-02 4:36 
QuestionVS.NET _bstr_t flawed? Pin
mstephens18-Jun-02 3:47
mstephens18-Jun-02 3:47 
Is it me or is the latest implementation of the _bstr_t class flawed in Visual Studio .NET?

I have a class that has an internal member of type _bstr_t. During construction the _bstr_t classes default constructor runs and sets it's internal m_Data pointer to NULL.

Later i call a function with a BSTR parameter and use the _bstr_t::Assign method to copy the BSTR into my member variable. Under VS6 this code was fine but under VS.NET it crashes.

The reason for the crash is in an ASSERT where the expression is something like (m_Data->GetWString() != s) since m_Data is NULL it crashes! Since it's in an assertion i can compile to a release build and it works ok.

Has anyone else seen this and is there any kind of service pack for VS.NET that fixes the problem?
GeneralRelease the memory associated with the element at the head position Pin
Rsh18-Jun-02 3:35
Rsh18-Jun-02 3:35 
GeneralMissing dialog icon in ALT-Tab list Pin
18-Jun-02 2:38
suss18-Jun-02 2:38 
GeneralRe: Missing dialog icon in ALT-Tab list Pin
Mike Nordell18-Jun-02 6:50
Mike Nordell18-Jun-02 6:50 
GeneralRe: Missing dialog icon in ALT-Tab list Pin
18-Jun-02 8:22
suss18-Jun-02 8:22 
GeneralRe: Missing dialog icon in ALT-Tab list (solved) Pin
18-Jun-02 10:04
suss18-Jun-02 10:04 
GeneralRe: Missing dialog icon in ALT-Tab list (solved) Pin
18-Jun-02 10:06
suss18-Jun-02 10:06 
GeneralChanging Windows colors not handled in ownerdraw buttons Pin
18-Jun-02 2:34
suss18-Jun-02 2:34 
GeneralRe: Changing Windows colors not handled in ownerdraw buttons Pin
James R. Twine18-Jun-02 3:10
James R. Twine18-Jun-02 3:10 
GeneralRe: Changing Windows colors not handled in ownerdraw buttons Pin
18-Jun-02 6:08
suss18-Jun-02 6:08 
GeneralCMDIFrameWnd in CMDIChildWnd view Pin
thkoch18-Jun-02 2:27
thkoch18-Jun-02 2:27 
Generalflexgrid woes Pin
yeeeooowww18-Jun-02 2:23
yeeeooowww18-Jun-02 2:23 
GeneralRe: flexgrid woes Pin
Michael P Butler19-Jun-02 1:15
Michael P Butler19-Jun-02 1:15 
GeneralOn dialog box move.... Pin
newneo18-Jun-02 2:02
newneo18-Jun-02 2:02 
GeneralRe: On dialog box move.... Pin
perlmunger19-Jun-02 9:59
perlmunger19-Jun-02 9:59 
GeneralHandling dynamically added toolbar button events... Pin
Mohit Khanna18-Jun-02 1:49
Mohit Khanna18-Jun-02 1:49 
GeneralRe: Handling dynamically added toolbar button events... Pin
dazinith18-Jun-02 4:02
dazinith18-Jun-02 4:02 
GeneralRe: Handling dynamically added toolbar button events... Pin
Mohit Khanna18-Jun-02 4:09
Mohit Khanna18-Jun-02 4:09 

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.