我用VB.NET做WINCE.NET的程序CreateFile()函数的声明是这样的,但还是出现
<DllImport("kernel32.dll", CharSet:=CharSet.Auto, CallingConvention:=CallingConvention.Winapi)> _
Function CreateFile(ByVal lpFileName As String, ByVal dwDesiredAccess As Integer, ByVal dwShareMode As Integer, ByVal lpSecurity As Integer, ByVal dwCreationDisposition As Integer, ByVal dwFlagsAndAttributes As Integer, ByVal hTemplateFile As Integer) As Integer
End Function
MissingMethodException错误。同样的程序在2000下可以正常运行。在WINCE.NET下怎样调用
这些API啊?