The return values into G is corrupted. I have tried to set the MAX+PATH with 44 and 45( 1 more byte for struct or class layout...neithe is working )

Also the main issue with C# client...it doest accept the casting type. i think it would be great to accept the setValue and getValue as generic type like object which can internally serialized the data and return into object form to client..