日期:2014-05-17 浏览次数:20964 次
#ifndef CharacterRecognition_H_
#define CharacterRecognition_H_
#ifndef DLLLIB
#define DLLLIB extern "C" _declspec(dllexport)
#endif
DLLLIB void DataTransform(char* pImgData,int iHeight,int iWeight);
#endif
。
[DllImport("CharacterRecognition.dll",EntryPoint="DataTransform",CallingConvention = CallingConvention.Cdecl)]
public static extern void DataTransform(byte[] pImgData, int iHeight, int iWeight);