Can we call Native Windows API from Delphi?

delphi, delphi-7, system-calls, winapi, windows

Solution

You can indeed call the native API from Delphi.

Delphi does not ship with header translations for the native API. So you need to provide your own, or use a pre-existing translation. For example. the JEDI translation of the NT API.

Problem

Is it possible to call the kernel Native APIs from within a Delphi application? Like `nt` and `zw` syscalls.

Original source

Related problems