Hello Darwen,

My Structure in C++ looks as below

struct EmpDetails
{
unsigned char * bNAME;
unsigned char * bAGE;
unsigned char * bDOJ;
unsigned char * bDESIGNATATION;
unsigned char * bGENDER;
unsigned char * bSALARY;

};

So in C# wrapper class, for unsigned char array, which type i should take for marshalling?

I tried taking different types and but it didn't work.
bReturnVal is an output parameter...there is no problem with that