[ofw] running ibnetdisc with the debugger attached

Hefty, Sean sean.hefty at intel.com
Thu Sep 2 12:46:35 PDT 2010


> 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



More information about the ofw mailing list