Re: COM Events passing Object as parameter (problem)



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


.



Relevant Pages

  • Re: http_open vs. http_get using proxy
    ... > I am using the little test program below to make sure I get past my ... > proxy. ... Prev by Date: ...
    (comp.lang.prolog)
  • Re: Crystal RTF question with VB.Net
    ... Thank you very much for your response. ... reference you mentioned and I added it to my project and I have a ... I'm a newbie to .NET, ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: C++/CLI Unions and Garbage collection
    ... Thanks for your response. ... The size of a reference is undefined. ... > 4 bytes on a 64-bit CLR. ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Which Singularity Dont You Want?
    ... > with the response about Guido. ... 1500 RASFW bonus points for getting the SF reference for ... Prev by Date: ...
    (rec.arts.sf.written)
  • Re: StackOverFlowException - Serialize collection
    ... Sorry, I missed your response. ... self-referential, that is it contains a reference to itself and thus, when ... the serializer trys to serialize it it starts over on its self and ... Prev by Date: ...
    (microsoft.public.dotnet.framework)