[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-java-com
Subject:    Re: Little bug in connection point framework
From:       "Marsh, Drew" <dmarsh () PROXICOM ! COM>
Date:       1999-01-30 2:36:06
[Download RAW message or body]


George,

Thank you. Everyone can grab the updated classes from
http://bowery.nyc.proxicom.com/javaCOM/connectionpointframework.zip

I simply moved the increment so it happens prior to creating and adding the
CONNECTDATA struct to collection.

Later,
   Drew

> -----Original Message-----
> From: George Clijsen [mailto:george.clijsen@BEST.MS.PHILIPS.COM]
> Sent: Friday, January 29, 1999 5:58 AM
> To: Java-COM@DISCUSS.MICROSOFT.COM
> Subject: Re: Little bug in connection point framework
>
>
> Hi Drew,
>
> I found another "strange thing"
> Within the ConnectionPoint you return the CookieCounter.
> I think this should be CookieCounter-1, because you increment the
> CookieCounter between the
> m_colConnections.put and the return, so the Cookie returned is not the
> Cookie value for the
> connectionpoint
>
> regards George Clijsen
>
>
> > -----Original Message-----
> > From: Java and COM
> [mailto:Java-COM@DISCUSS.MICROSOFT.COM]On Behalf Of
> > Marsh, Drew
> > Sent: Thursday, January 28, 1999 4:36 PM
> > To: Java-COM@DISCUSS.MICROSOFT.COM
> > Subject: Re: Little bug in connection point framework
> >
> >
> > Ahhh... what you found is actually a packaging error on my part. =)
> >
> > I accidentally packaged the interfaces/structs I was
> designing just for
> > stubs before the VM included the *correct*
> interfaces/structs. IGNORE
> > com.marsh.com in my ConnectionPointFramework project.
> >
> > I'm going to remove these from the zip. The framework should
> > still work just
> > fine because *it* uses the com.ms.com packaged interfaces/structs.
> >
> > Thanx,
> >     Drew
> >
> > P.S. To all: The original message was emailed directly to me, I'm
> > CC'ing the
> > list as a notification of the error. ;)
> >
> > > -----Original Message-----
> > > From: Henk Wagterveld [mailto:hwagterveld@baan.nl]
> > > Sent: Thursday, January 28, 1999 6:31 AM
> > > To: 'dmarsh@proxicom.com'
> > > Subject: Little bug in connection point framework
> > >
> > >
> > > Hi Drew,
> > >
> > > I used your connection point framework. There is a little bug
> > > in it: the iid
> > > of IConnectionPoint in your framework is equal to the iid of
> > > IEnumConnectionPoint. This results in a memory exception.
> The iid of
> > > IConnectionPoint should be ....26-.... instead of ...25-.....
> > >
> >
> > ----------------------------------------------------------------
> > Users Guide http://www.microsoft.com/workshop/essentials/mail.asp
> > contains important info including how to unsubscribe.  Save
> time, search
> > the archives at http://discuss.microsoft.com/archives/index.html
> >
>

----------------------------------------------------------------
Users Guide http://www.microsoft.com/workshop/essentials/mail.asp
contains important info including how to unsubscribe.  Save time, search
the archives at http://discuss.microsoft.com/archives/index.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic