c# 调用dll问题
c#调用dll,dll函数原型中参数中含有结构体,该结构体中又含有结构体,在c#中如何定义呢?dll中结构体如下
struct stDLL_CHANNEL_SENSOR_LIST {
int nSensorCount;
float fWaveLengthVec[30];
float fPowerDBVec[30];
};
struct stDLL_CHANNEL_LIST {
int nChNum;
int nFreq;
stDLL_CHANNEL_SENSOR_LIST tSensorListVec[150];
};