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 "[email protected] stdcall"; function ShowWindow(hWnd : LongWord; nCmdShow : LongWord): LongWord; external "[email protected] stdcall"; Const SW_MINIMIZE = 6; procedure Minimize; var hWnd : Longint; begin hWnd := GetActiveWindow(); ShowWindow(hWnd, SW_MINIMIZE); end;
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 "[email protected] stdcall";
and I got a simular error: Cannot Import dll:kernel32.dll
Thanks for any assistance you can give and
Happy New Year!!!