Thanks for the replay, curiousDev.
I've applied your suggestion and the exception is gone.
However, In my understanding, this will result in the struct not being a union anymore, as the filed of dwLocalChannel will be stored in the memory after the fields byRes and struRemoteChannel.
From the...