[DllImport("coredll.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr OpenFileMapping(int dwDesiredAccess, bool bInheritHandle, string lpName);
pMapFile = OpenFileMapping(Const.FILE_MAP_ALL_ACCESS, false, strMemoryFileName);
编译时没问题,但是我在wince6.0 模拟器上运行时,出现“无法找到 PInvoke DLL“coredll.dll”中的入口点“OpenFileMapping”,请问各位大大是不是
wince下没有OpenFileMapping这个函数,还是改成其他的名字了?