我的用法
[DllImport("BCEncode.dll", EntryPoint = "MakeBarCode")]
private static extern Bitmap MakeBarCode(int nBType, String lpszText, int nNarrow, int nWide, int nHeight, int nRotate, int nReadable, int err);调用方法
private void btn_QueRen_Click(object sender, EventArgs e)
{
int error = 0;
Bitmap img = MakeBarCode(3, "1234567890", 2, 5, 100, 1, 4, error);
}调用后img是null,error还是0大家帮我看看错在哪里了!!!
[DllImport("BCEncode.dll", EntryPoint = "MakeBarCode")]
private static extern Bitmap MakeBarCode(int nBType, String lpszText, int nNarrow, int nWide, int nHeight, int nRotate, int nReadable, int err);调用方法
private void btn_QueRen_Click(object sender, EventArgs e)
{
int error = 0;
Bitmap img = MakeBarCode(3, "1234567890", 2, 5, 100, 1, 4, error);
}调用后img是null,error还是0大家帮我看看错在哪里了!!!
解决方案 »
- Silverlight中WebRequest的问题
- 为什么用下面的方法,在listViewEx控件(DevComponents.DotNetBar.Controls.ListViewEx)中加载不到文本文件呢?
- C#做为脚本来用是怎么回事?给个例子好吗?
- 请教!如何将16进制数转化为16进制字符?
- 图像处理是学vc6.0好vc.net好还是学C#好
- MessageBox打上.后不能自動跳出相應的方法和屬性等
- LDA源代码
- 10QB急求 !C#编辑和删除IIS6.0的扩展名映射(改变.net的版本)
- 水晶报表注册失败后,怎么办?在线等待
- 能确定多维数组的长度吗?
- 图片百叶窗的问题
- 急,急,oracle语句出错,请修正下??
哪去找事例自带的是vb6和vc的