如题。用 VS2005.net C#编写一段程序在PC上运行,负责从PC到Pocket PC和 Pocket PC到PC.//代码如下:
[DllImport("rapi.dll", CharSet = CharSet.Auto)]
static extern unsafe System.IntPtr CeCreateFile(
string FileName, // file name
uint DesiredAccess, // access mode
uint ShareMode, // share mode
uint SecurityAttributes, // Security Attributes
uint CreationDisposition, // how to create
uint FlagsAndAttributes, // file attributes
int hTemplateFile // handle to template file
);const uint GENERIC_READ = 0x80000000;
const uint OPEN_EXISTING = 3;handle = CeCreateFile(existingFileName, GENERIC_READ, 0, 0, OPEN_EXISTING, 0, 0);提示错误信息:
FatalExcutionEngineError was deteted
Get information about MDAs不知道如何解决?
[DllImport("rapi.dll", CharSet = CharSet.Auto)]
static extern unsafe System.IntPtr CeCreateFile(
string FileName, // file name
uint DesiredAccess, // access mode
uint ShareMode, // share mode
uint SecurityAttributes, // Security Attributes
uint CreationDisposition, // how to create
uint FlagsAndAttributes, // file attributes
int hTemplateFile // handle to template file
);const uint GENERIC_READ = 0x80000000;
const uint OPEN_EXISTING = 3;handle = CeCreateFile(existingFileName, GENERIC_READ, 0, 0, OPEN_EXISTING, 0, 0);提示错误信息:
FatalExcutionEngineError was deteted
Get information about MDAs不知道如何解决?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货