Jump to content

Recommended Posts

Posted

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?

  • 3 weeks later...
Posted

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/918165

Despite 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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...