tryusing System.Runtime.InteropServices;
using System.Text;[DllImport("LK607W95.DLL")]
public static extern int WCARD(StringBuilder comp, StringBuilder data);StringBuilder sb1 = new StringBuilder("whatever");
StringBuilder sb2 = new StringBuilder("whatever2");int n = WCARD(sb1,sb2);
using System.Text;[DllImport("LK607W95.DLL")]
public static extern int WCARD(StringBuilder comp, StringBuilder data);StringBuilder sb1 = new StringBuilder("whatever");
StringBuilder sb2 = new StringBuilder("whatever2");int n = WCARD(sb1,sb2);
解决方案 »
- 【求教】如何将在登录Login窗体登录时输入的帐号密码保存到一个User类里去?
- 贴出自己刚刚开始学习C#的前几天写的代码,不知不觉过了好长时间了。下班结贴,散分~~
- 我想了解论坛帖子是如何锁定和置顶的!
- 运行到 excel.Save(fileStrName);是总是弹出另存为对话框,怎么解决
- .net 如何将字符串保存为 ANSI编码的文件
- C#软件的发布和生成有什么区别?
- 关闭浏览器时执行的程序怎么写?
- C# Socket传输文件
- 请各位大侠帮助解答下面的三个问题
- 升星,散分!
- how to create a shortcut (shell link) onto the desktop?
- 为何我的Visual Studio.net总提示"VC开发包不可用或未注册"
public static extern int WCARD(string comp, string data);string sb1 = "whatever";
string sb2 = "whatever2";int n = WCARD(sb1,sb2);
未处理的“System.DllNotFoundException”类型的异常出现在 bonus.exe 中其他信息:无法加载 DLL (LK607W95.DLL)。不知何故?
写全路径看看行不行?
未处理的“System.EntryPointNotFoundException”类型的异常出现在 bonus.exe 中其他信息:无法在 DLL LK607W95.DLL 中找到名为 WCARD 的入口点。
不知何故?