Windows 64位计算机+ Delphi 2007应用程序中无法正常运行GetExitCodeProcess函数 [英] GetExitCodeProcess function not wotking in windows 64 bit Machine + Delphi 2007 application

查看:261
本文介绍了Windows 64位计算机+ Delphi 2007应用程序中无法正常运行GetExitCodeProcess函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用GetExitCodeProcess函数检查Process是否仍处于活动状态,但是它仅在32位计算机上工作.

Hi, I am using GetExitCodeProcess function to check whether Process is Still Active or not But, it is only working in 32 bit Machine.

在64位操作系统和Windows 2008 SP2服务器的计算机上出现故障.

it is getting failure on Machine which is a 64 bit OS and windows 2008 SP2 server.

是可用于检查服务是否仍处于活动状态的任何功能对于64位计算机?

is any function available to Check whether service is Still active or not  for 64 bit Machine ?

应用程序为32位而且它还可以在64位计算机上运行.

Application is 32 bit  and it is also running in 64 bit machine.

Pritesh

推荐答案

正确的方法是:WaitForSingleObject与timeout = 0

The correct way is: WaitForSingleObject with timeout=0


这篇关于Windows 64位计算机+ Delphi 2007应用程序中无法正常运行GetExitCodeProcess函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆