i am using a COM dll in my C# Project. I have one USERINFO Structure in my COM dll which looks like :
struct USERINFO
{
BYTE UserID[USER_ID_SIZE];//42
BYTE FirstName[NAME_SIZE];//66
BYTE LastName[NAME_SIZE]; //66
long Pin;
BYTE TimeGroupIDList[IDLIST_SIZE];//10
enum EUserKind eUserKind;
BYTE WarningEye;
};
当我在C# Application中利用这一结构来填补用户数据的这一结构并转至我的AddUser API时,它就把这一错误归来。
Any help is appreciated. Thanks.