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:
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:
and I got a simular error: Cannot Import dll:kernel32.dll
I’ve tried calling from both javascript and php.
Thanks for any assistance you can give and
Happy New Year!!!
I’m trying your code from your faq: How can I minimize the window?
that looks like:
Code:
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;
As a test I also tried a script with just this line:
Code:
function GetFileAttributes(lpFileName: string): LongWord; external "[email protected] stdcall";
I’ve tried calling from both javascript and php.
Thanks for any assistance you can give and
Happy New Year!!!
Last edited:
