Hello everyone,
On Thu, Jul 10, 2008 at 10:30 PM, Stefan Kuhr winesku@googlemail.com wrote:
__try { PDWORD pdwCommStatus = ....; PDWORD pdwFaultStatus = ....; doSomething(); } __except(MySpecialFilter(GetExceptionCode(),pdwCommStatus, pdwFaultStatus) ) { // handle the exception
}
Oh stupid me.
PDWORD pdwCommStatus = ....; PDWORD pdwFaultStatus = ....;
should be placed outside the try block.
Now that we all know that I cannot contribute anymore to improving NdrClientCall2 and that I also failed to properly write a code snippet that obeys variable scope rules, could someone give an answer to my original problem?
OMG, this afternoon is a real disaster :-(
Thanks,