日期:2014-05-18 浏览次数:21203 次
BOOL DoRecognize( const unsigned char* pWriteData, const int iDataLen, const unsigned short iDestWChar, unsigned short* iWrittenChar, double* pEvalOut, const int iENumber, int *state, char *cs);
[DllImport(@"C:\Windows\System32\RIT.dll", EntryPoint="DoRecognize")] static extern int DoRecognize( byte[] byteSerializedCh, int iByteNum, short chDestCh, ref short chWrittenCh, double[] pEvalout, int iENum, int[] state, byte[] ch);
// 注意你的编译方式改为Unicode extern "C" __declspec(dllexport) BOOL __stdcall DoRecognize( const unsigned char* pWriteData, const int iDataLen, const unsigned short iDestWChar, unsigned short* iWrittenChar, double* pEvalOut, const int iENumber, int *state, char *cs);
------解决方案--------------------
类型问题
参考
------解决方案--------------------
也用指针,使用fix试试看
------解决方案--------------------