dcunited Posted April 9, 2007 Posted April 9, 2007 Sample Code: private static AutoItX3Class autoIT = new AutoITXClass(); autoIT.WinExists(locCurTitle, locCurText); This code works fine if an application meets these criteria, if it does not, it throws the AccessViolationException. The expected result is of course that it would return a 0 meaning it did not find the application. Any ideas what I can do to fix this?
joell Posted April 30, 2007 Posted April 30, 2007 Hi,Maybe it's not relevant, but just in case.I encountered lots of access violation exception in some third parties applications (at least one coded in c#) and Autoit scripts of my own on some of my computers running xp sp2. After a few checks and some googling on the web I found a way to get rid of all these errors. Please take a look at http://support.microsoft.com/kb/918165Despite it was not listed, removing MS KB908531 fixed all problems for my scripts and other applications.Hope it will at least give you an idea... registry victim
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