realski Posted January 12, 2007 Share Posted January 12, 2007 uses windows; function SerchingVA: Boolean; stdcall external 'simpledll.dll'; {} begin WriteLn('...'); while True do begin Sleep(100); if SerchingVA then begin MessageBox(0, 'OK', nil, 0); Halt; end; end; end. Link to comment Share on other sites More sharing options...
Zedna Posted January 12, 2007 Share Posted January 12, 2007 function SerchingVA: Boolean; stdcall external 'simpledll.dll'; if SerchingVA then Func SearchingVA() $ret = DllCall('simpledll.dll','Int','SearchingVA') If @error Then SetError(@error) Return -1 EndIf Return $ret[0] EndFunc If SearchingVA() Then ... Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now