Sign in to follow this  
Followers 0
blahblahblah5038

unhandled win32 exception

11 posts in this topic

I have had auto it working on my desktop for almost 2 years now, but when I installed it on my new laptop and started running scripts with it, I started getting "unhandled win32 exception" errors that offer to let me debug in visual studio. what's up with this?


Noteworthy works:Fast Pixel SearchSigned: WG

Share this post


Link to post
Share on other sites



is your new pc vista? if it is, you can right click on the application and go to properties, and set it to work for compatibility mode of xp service pack 2 and it might work. my new pc is vista, and i have had some problems like this.

Share this post


Link to post
Share on other sites

I took vista off my machine. I am runing XP SP 2 on both machines, and I have tried the newest release version and the beta.


Noteworthy works:Fast Pixel SearchSigned: WG

Share this post


Link to post
Share on other sites

chkdsk, defragment and retry. Then report back. Without any information about the script and AutoIt version used (if compiled) it's not easy to help you..:)

Share this post


Link to post
Share on other sites

the code for the program I was working on was only about 10 lines, so I started disabling one line at a time until the program worked. The problem is in a dll call.

$storage = DllCall("Grant PJAS DLL.dll", "int", "PJAS", "int", $sides)

I tried my other programs on the laptop that use dll's and get the same error. Those programs work perfectly on the desktop.

The laptop has version v3.2.10.0 of autoit on it. the desktop has an older version.


Noteworthy works:Fast Pixel SearchSigned: WG

Share this post


Link to post
Share on other sites

does that .dll exist on your new pc?

Share this post


Link to post
Share on other sites

the code for the program I was working on was only about 10 lines, so I started disabling one line at a time until the program worked. The problem is in a dll call.

$storage = DllCall("Grant PJAS DLL.dll", "int", "PJAS", "int", $sides)

I tried my other programs on the laptop that use dll's and get the same error. Those programs work perfectly on the desktop.

The laptop has version v3.2.10.0 of autoit on it. the desktop has an older version.

You might need to check what the parameters are supposed to be for that dll. Verify that both are supposed to be "int"


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

I checked, and I have administrative rights on both computers. The dll call is correct, and I tried another dll that I know works on my other machine and got the same error on this laptop. If it helps, the error suggests that I should debug using visual studio.


Noteworthy works:Fast Pixel SearchSigned: WG

Share this post


Link to post
Share on other sites

I have resolved my own problem. The problem is not AutoIt, it is visual studio. when an unhandled exception occurs, visual studio activates it's just in time debugger. The error may or may not have been a serious one, but it kills your program all the same. I realized it was not Auto it when I tried playing games, and the games started crashing in the same way. if you have this problem go to this support forum and read the part about

Delete the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger

after you do that, restart your machine and the problem should go away.

Noteworthy works:Fast Pixel SearchSigned: WG

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  
Followers 0