Jump to content
Sign in to follow this  
Cor

autoitx and delphi

Recommended Posts

Cor

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 ...

Share this post


Link to post
Share on other sites
Richard Robertson

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×