I must say that once we have been running with the debugger we have found that the function fails unless we zero offset field.
> -----Original Message----- > From: [email protected] [mailto:ofw- > [email protected]] On Behalf Of Hefty, Sean > Sent: Thursday, September 02, 2010 10:47 PM > To: Tzachi Dar > Cc: [email protected] > Subject: Re: [ofw] running ibnetdisc with the debugger attached > > > Do you succeed in running ibnetdisc with windbg attached? I must say > we > > have not? > > I have never tried. > > > In any case the WriteFile api has a return value. I don't understand > why > > you ignore it. > > Okay - I missed that this was what you were trying to get it at. Yes, > the code should check the return value of Read/WriteFile before calling > GetOverlappedResult. I'll update that. I've already changed the code > to clear the two overlapped structures as part of the constructor. > > - Sean > _______________________________________________ > ofw mailing list > [email protected] > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw _______________________________________________ ofw mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
