Jump to content
Sign in to follow this  
MariusN

Running 2 functions simultaneously?

Recommended Posts

MariusN

Is it possible to run 2 functions simultaneously WITHOUT exiting one of them?

If i'm not mistaken, i think in C++ a dll is the same as an "exe" file meaning the dll can run separately and actually "monitor or check" the exe file...I would like to do the same with AutoIt if possible...

Share this post


Link to post
Share on other sites
UEZ

Just have a look on AdlibRegister() function!

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites
MariusN

Just have a look on AdlibRegister() function!

UEZ

thx uez...will check it out

Share this post


Link to post
Share on other sites
MariusN

Eish...no luck. It works all right, but the problem is i have a sleep function of 60secs in my first function.

This now holds the "checking" function back :mellow:

...unless, maby i must rather create 2 exe files and hope for the best, lol

Edited by MariusN

Share this post


Link to post
Share on other sites
UEZ

Replace the Sleep() function with TimeDiff() and should work!

Otherwise post your code!

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites
MariusN

Replace the Sleep() function with TimeDiff() and should work!

Otherwise post your code!

UEZ

Thanks a bunch EUZ...After about 2.5 hours i got it working :mellow:

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.