neslib/Chet

Add DelayLoading option for external procedure

Closed this issue · 1 comments

ccy commented

Delphi allow declare external function as delay loading. It would be nice to have an option to specify delayed in external procedure declaration.

Example:

function GetDesktopWindow: HWND; stdcall; external user32 name 'GetDesktopWindow' delayed;
function GetFooBar: Integer; stdcall; external kernel32 name 'GetFooBar' delayed;
function GetFooBarBar: Integer; stdcall; external 'kernel33' name 'GetFooBarBar' delayed;

Sorry for the long wait. Added the option now.