D
David White
I have a C# client and a C# remote service. I want to return an enum from the
service to the client. I have defined the enum in a shared DLL referenced by
both client and server which also contains the shared interface. But when the
code runs (on .Net 2 on XP anyway), it fails with an exception "return argument
has an invalid type". If I return an int, no problem. Seems like this should
work. Any pointers? Thanks.
service to the client. I have defined the enum in a shared DLL referenced by
both client and server which also contains the shared interface. But when the
code runs (on .Net 2 on XP anyway), it fails with an exception "return argument
has an invalid type". If I return an int, no problem. Seems like this should
work. Any pointers? Thanks.