How do I write an exception filter?
winesku at googlemail.com
Thu Jul 10 16:22:33 CDT 2008
On Thu, Jul 10, 2008 at 10:30 PM, Stefan Kuhr <winesku at googlemail.com> wrote:
>> PDWORD pdwCommStatus = ....;
>> PDWORD pdwFaultStatus = ....;
>> __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
OMG, this afternoon is a real disaster :-(
More information about the wine-devel