как позвонить DLLImport

Как обычно: Using System.IO.InteropServices; [DllImport("User32.dll")] public static extern int SetForegroundWindow(IntPtr point);

Pascal возможно: uses System.IO.InteropServices; function SetForegroundWindow(point: IntPtr):Integer; stdcall; external 'User32.dll' Name 'SetForegroundWindow';

Но, это не работает

виноват, это работает сейчас, после

implementation

function SetForegroundWindow(point: IntPtr):Integer; external 'User32.dll' Name 'SetForegroundWindow';