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

Changed PipeOptions to asynchronous and transmission mode to Byte to resolve a pipe write hang #21

Closed dakahler closed 4 years ago

dakahler commented 5 years ago

Not sure why I was hanging on writing to the named pipe, but tried these changes based on this thread:

https://stackoverflow.com/questions/8069172/duplex-named-pipe-hangs-on-a-certain-write

It solves the problem for me.