First I want to say - ExeOutput is a great program. We are close to our first release and will be purchasing at that time.
I’m trying your code from your faq: How can I minimize the window?
that looks like:
function GetActiveWindow(): LongWord; external "GetActiveWindow@user32.dll stdcall";
function ShowWindow(hWnd : LongWord; nCmdShow : LongWord): LongWord; external "ShowWindow@user32.dll stdcall";
SW_MINIMIZE = 6;
var hWnd : Longint;
hWnd := GetActiveWindow();
I get the error “Cannot import dll:user32.dll” on the first line.
As a test I also tried a script with just this line:
function GetFileAttributes(lpFileName: string): LongWord; external "GetFileAttributesA@kernel32.dll stdcall";
and I got a simular error: Cannot Import dll:kernel32.dll
Thanks for any assistance you can give and
Happy New Year!!!