Jump to content
Sign in to follow this  
ferrari987

compiled exe does not work correctly

Recommended Posts

ferrari987

Hey there,

i have a problem with the following script:

If ProcessExists("firefox.exe") Then
    MsgBox(0,"no","no")
Else
    MsgBox(0,"yes","yes")
    ;run("C:\Program Files\ShrewSoft\VPN Client\ipseca.exe")
EndIf
    
Exit

If a run it from the editor by Tools -> go it works as intended.

When I run the compiled .exe I always get "no" no matter if firefox.exe is running or not.

My system is: Windows 7 64bit.

Thanks for your advice.

ferrari987

Share this post


Link to post
Share on other sites
Confuzzled

If you press CTRL-ALT-DELETE together and invoke task manager, do you see 'firefox.exe' in the task list? Foreground or background?

Share this post


Link to post
Share on other sites
ferrari987

Yes it is there. The problem is: the compiled exe acts, as if firefox.exe was running, even if it is 100% not running.

Share this post


Link to post
Share on other sites
Jos

Yes it is there. The problem is: the compiled exe acts, as if firefox.exe was running, even if it is 100% not running.

What did you call your script?

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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.