Jump to content

Need simultaneously run of function


SH8
 Share

Recommended Posts

Dear all,

I have a HTTP function.
The HTTP function is  a little bit complex with cross checking and the webserver need some time for each process.

MyFunction:

Func _HTTPGet($URL,$Value)

       ;IT TAKES SOME TIME :-)

       ;ErrorHandling etc

EndFunc

Now I launch this Function sometimes:

 
This launch should not be like a batch.
Maybee my http-Server is offline I have to wait for exception each launch
 
So will launch them simultaneously.
How can I do it ?
Link to comment
Share on other sites

:-( Maybee another idea:

I launch
_SoftwareInformerHTTPUpdate("Adobe","Reader","11.0",50,"Info","Info")

_SoftwareInformerHTTPUpdate launch:

 
Maybee there is an other chance for my problem:
_SoftwareInformerHTTPUpdate is launching _HTTPGet
If _HTTPGet returns an error _SoftwareInformerHTTPUpdate should not make the next following _HTTPGet
 
Not clean, but a workarround to solve timeouts because of unavaible webservers.
So I need to limit time for the _SoftwareInformerHTTPUpdate like WinWait, but not with an WindowsApplication instead my function
Edited by SH8
Link to comment
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
 Share

  • Recently Browsing   0 members

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