 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Remy Lebeau (TeamB) Guest
|
Posted: Mon Jul 28, 2003 10:45 pm Post subject: Re: Exeception in IStream Destructor |
|
|
"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
|
Posted: Tue Jul 29, 2003 4:53 pm Post subject: Re: Exeception in IStream Destructor |
|
|
"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 |
|
 |
|
|
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
|
|