文章分类 - C# winform
摘要:把引用DllImport()函数里添加参数如:把[DllImport("dllDemo.dll")] 改为[DllImport("dllDemo.dll", CallingConvention = CallingConvention.Cdecl)]即可更正后具体代码如下:View Code 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Runtime.InteropServices; 
        阅读全文
                
                    
                
浙公网安备 33010602011771号