我在网上找了一个实现FPort的源代码 ,
编译没有问题,在执行时出现错误对话框,
代码是:
    NTSTATUS          status;
    UNICODE_STRING    physmemString;
    OBJECT_ATTRIBUTES attributes;
    HANDLE            hMemory;
  
    RtlInitUnicodeString(&physmemString, L"\\Device\\PhysicalMemory");     InitializeObjectAttributes(&attributes, &physmemString,
OBJ_CASE_INSENSITIVE, NULL, NULL);     status = ZwOpenSection(&hSection, SECTION_MAP_READ, &attributes ); 
    if (!NT_SUCCESS(status)) return NULL;    hMemory = MapViewOfFile(hSection, FILE_MAP_READ,
0, 0x30000, 0x1000);
 
    if (GetLastError() != 0) return NULL;    
其中 ZwOpenSection返回成功,但MapViewOfFile返回错误,错误代码是“找不到指定的模块“。
怎么解决阿。