CodefoundryDE / LegacyWrapper

LegacyWrapper uses a x86 wrapper to call legacy dlls from a 64 bit process (or vice versa).
MIT License
79 stars 20 forks source link

getting Pipe is broken exception when running on Windows 7 #20

Open wdstest opened 5 years ago

wdstest commented 5 years ago

I get a System.IO.IOException "Pipe is broken." exception inside PipeServer.cs LegacyWrapper.Transport.PipeServer::SendCallResponse(CallResult callResult) { _fromatter.Serialze(_pipe,callResult); }

krisha commented 3 years ago

This happens also in Win 10, but might not be shown to the user except on debugging.

InvokeFunction(data) in ProcessMessages should only be called, when data.Status != KeepAliveStatus.Close (or data.ProcedureName is not null).