Jump to content
Sign in to follow this  
neilontherock

_InetGetSource function crashes script

Recommended Posts

neilontherock

Hi,

I have been using the InetGetSource function in my script for about 6 months with no issues. About 2 weeks ago the script started failing and I have traced the problem to the InetGetSource function. This is the last function called before my script aborts. I tried adding a error handler using a while/wend and @error but it does not get triggered.

My question is; is there a way to trap an error in the InetGetSource function? I would like my script to continue processing when this function fails.

Any help would be greatly appreciated.

Share this post


Link to post
Share on other sites
JohnOne

Hi,

I have been using the InetGetSource function in my script for about 6 months with no issues. About 2 weeks ago the script started failing and I have traced the problem to the InetGetSource function. This is the last function called before my script aborts. I tried adding a error handler using a while/wend and @error but it does not get triggered.

My question is; is there a way to trap an error in the InetGetSource function? I would like my script to continue processing when this function fails.

Any help would be greatly appreciated.

use @error

Also you will get better help in the help and support section.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites
neilontherock

Thanks. I have posted this to General Help and Support.

I am using @error. The function does not return and causes the script to abort.

Share this post


Link to post
Share on other sites
Richard Robertson

Do you have any resident antivirus or firewall software that may be shutting the script down?

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.