Re: COM Events passing Object as parameter (problem)
- From: "Jayme Pechan" <jayme.pechan@xxxxxxxxxxxxx>
- Date: Fri, 9 Dec 2005 08:12:52 -0800
Michael,
Thanks for the response. Its an interesting idea. In my test program,
there is nothing at all in the objects except the one property for returning
the other object. It still happens even if I store a reference to the
parameter object in a local variable in C# (should maintain the reference
count). In the ATL object, if I do not release the object after firing the
event, it works fine except that the MainObj never gets released in C# or
any other language.
Jayme
.
- References:
- COM Events passing Object as parameter (problem)
- From: Jayme Pechan
- Re: COM Events passing Object as parameter (problem)
- From: Michael C
- COM Events passing Object as parameter (problem)
- Prev by Date: Re: Unit Testing
- Next by Date: Re: Getting data into Excel
- Previous by thread: Re: COM Events passing Object as parameter (problem)
- Next by thread: Re: COM Events passing Object as parameter (problem)
- Index(es):
Relevant Pages
|