BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: Exeception in IStream Destructor

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
Remy Lebeau (TeamB)
Guest





PostPosted: Mon Jul 28, 2003 10:45 pm    Post subject: Re: Exeception in IStream Destructor Reply with quote



"Danzer" <danzer767 (AT) yahoo (DOT) com> wrote

Quote:
What difference does the URL to which I am navigating make?

It doesn't make any difference at all.

Because the Adpater's constructor is passed soReference, its destructor
won't actually do anything at all other than its normal reference count
decremeting. The only way Adpater can throw an exception on destruction in
this situation is if the IStream's reference count is not being managed
correctly such that the underlying IStream is already destroyed before the
Adapter's destructor is called, so that it is trying to release an invalid
IStream object.


Gambit



Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Tue Jul 29, 2003 4:53 pm    Post subject: Re: Exeception in IStream Destructor Reply with quote




"Danzer" <danzer767 (AT) yahoo (DOT) com> wrote


Quote:
I am not trying to be obtuse or belligerent, but did
you try the code or just make a statement as to how
it should work?

You are using the same code that I posted last week in a different
discussion thread. Yes, I ran that code several times before I posted it,
it worked fine, no errors, no exceptions.


Gambit



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.