There is such code on c ++
PIMAGE_SECTION_HEADER PImage; PIMAGE_NT_HEADERS PNTHead; ... PImage=(PIMAGE_SECTION_HEADER)(PNTHead+1); How can I translate to Delphi? PNTHead+1 will be the same as Inc(PNTHead) in Delphi?
Source: https://ru.stackoverflow.com/questions/643651/
All Articles
(PIMAGE_SECTION_HEADER)(PNTHead+1);You can rewrite to c ++ as(PIMAGE_SECTION_HEADER) (((char*)PNTHead) + sizeof(*PNTHead))and on the Delphi something likePIMAGE_SECTION_HEADER (integer(PNTHead) + sizeof(IMAGE_NT_HEADERS) )-NativeIntis necessary to lead in modern versions - teran