Jump to content
Sign in to follow this  
kodius

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

Recommended Posts

kodius

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

Share this post


Link to post
Share on other sites
kodius

See attached screenshot of task manager and highlighted process for Quickbooks

post-13370-12719584034589_thumb.jpg

Share this post


Link to post
Share on other sites
ProgAndy

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

Share this post


Link to post
Share on other sites
kodius

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.

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  

×