windows ce 调用DLL问题
tzszk 2011-01-18 03:38:46 有个C++的DLL,函数原型:
int WINAPI GenBarCode(char * barcode, DWORD Id,DWORD cjm,DWORD wsm,DWORD slm,DWORD xhm);
在WIN32下的声明:
public static extern int GenBarCode([MarshalAs(UnmanagedType.LPStr)] System.Text.StringBuilder s, UInt32 Id, UInt32 cjm, UInt32 wsm, UInt32 slm, UInt32 xhm);
在win32下成功调用
转到windows ce
声明和wind32下一样,但怎么也不行,我想可能是字符集的问题,但不知道怎么解决,请赐教