NThunvik / csharptest-net

Automatically exported from code.google.com/p/csharptest-net
1 stars 0 forks source link

Provide good info unknown SEH exception #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Given I call dead server
Actual
Then got unknown SEH exception
Expected
Then got error with meaning
And can differentiate dead sever from other issues

Can use [comm_status]  to get C structure instead of C++ exception.

Original issue reported on code.google.com by Dzmitry....@gmail.com on 5 Jul 2013 at 9:16

GoogleCodeExporter commented 8 years ago
This issue has been bothering me for some time.  I did finally locate the 
'root' of the problem in RpcClientApi.cs line 272, change the parameter from 
true to false:

pStub = handle.CreatePtr(new MIDL_STUB_DESC(handle, handle.Pin(new 
RPC_CLIENT_INTERFACE(iid)), RpcApi.TYPE_FORMAT,
-                                                        true));
+                                                        false));

Several other fixes have been made involving midl version, etc in the next 
release.

Original comment by Grig...@gmail.com on 26 Jan 2014 at 6:13

GoogleCodeExporter commented 8 years ago
Fixed in 2.14.126.467

Original comment by Grig...@gmail.com on 26 Jan 2014 at 10:09