是对应Pointer类型。<br>如果你转换后不对,应该是你的代码的问题.<br><br><br>举个例子<br>BOOL VirtualProtectEx(<br> HANDLE hProcess,<br> LPVOID lpAddress,<br> SIZE_T dwSize,<br> DWORD flNewProtect,<br> PDWORD lpflOldProtect<br>);<br><br>对应Delphi中的声明<br>function VirtualProtectEx(hProcess: THandle; lpAddress: Pointer;<br> dwSize, flNewProtect: DWORD; lpflOldProtect: Pointer): BOOL;<br> external kernel32 name 'VirtualProtectEx';<br>function VirtualProtectEx(hProcess: THandle; lpAddress: Pointer;<br> dwSize, flNewProtect: DWORD; var OldProtect: DWORD): BOOL;<br> external kernel32 name 'VirtualProtectEx';