2009年3月11日

摘要: protected void Button2_Click(object sender, EventArgs e)//保存 { HttpPostedFile upFile = File1.PostedFile; int iFileLength = upFile.Conten... 阅读全文
posted @ 2009-03-11 08:22 Gsun 阅读(724) 评论(0) 推荐(0)
摘要: 1, PInvoke什么意思? Platform Invocation Services2, 干什么用? 导入外部函数?什么是外部函数,就是不属于.Net托管的函数。3,如何用?看下面的例子。用[DllImport(dllname)]来实现,但是首先要把System.Runtiime.InteropServices using进来。但是不using也行,就要敲全称,随你便了。[DllImport(... 阅读全文
posted @ 2009-03-11 08:20 Gsun 阅读(946) 评论(1) 推荐(0)

导航