Cor Posted May 19, 2011 Share Posted May 19, 2011 AUIT: TAutoItX3; AUIT := TAutoItX3.Create(nil); ; seconds parameter cannot be empty otherwise get error ; so it needs always text ; is there a way to skip the second parameter for use in delphi Access violation at address 1002A613 in module 'AutoItX3.dll'. Read of address 00000000. ; check notepad window auit.WinActivate('Untitled',''); gr.Corhttp://www.ready4music.com35+ programs for ... Link to comment Share on other sites More sharing options...
JohnOne Posted May 21, 2011 Share Posted May 21, 2011 As far as I know all paramaters need to be passed to functions, they are not optional. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Richard Robertson Posted May 21, 2011 Share Posted May 21, 2011 It's actually a pair of errors mixed together. 1. AutoItX apparently doesn't recognize null pointers. 2. Delphi is converting your empty string to a null instead of passing an empty string. 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