Jump to content

Getting ProcessWait to work on 32bit app in 64bit Env


Recommended Posts

I often use AutoIT to launch an application on my terminal server then wait for the user to exit the application and log them off.

On a 32bit server this works great all day long but I have a new 64 bit server and the process name shows up with a *32 next to it.

How do I call that process name up in AutoIT, I tried "processname.exe *32" but that didn't work.

Help

Link to comment
Share on other sites

I don't think you should add *32. I believe this is only cosmetics done by taskmanager.

Also you could try to use

$iPid = Run(...)

ProcessWait($iPid)

Edit: there is an edit-button, do not double-post!

Edited by ProgAndy

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Link to comment
Share on other sites

I don't think you should add *32. I believe this is only cosmetics done by taskmanager.

Also you could try to use

$iPid = Run(...)

ProcessWait($iPid)

Edit: there is an edit-button, do not double-post!

ProgAndy that started the parent process qbw32pro.exe but that in turn starts a child process called qbw32.exe.

How do I capture that child PID which the the one I need to wait for to close? i tried ProcessWaitClose ("qbw32.exe") but it didn't work.

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...