Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PocketPC2003デバイスでプロセス「A」のハンドルを持っています。そのプロセスがプロセス「B」からまだ実行されているかどうかを判断する必要があります。プロセス「B」は、Embedded Visual C++4.0で記述されています。
関数が呼び出されたときにプロセスが実行されていた場合、GetExitCodeProcess は STILL_ACTIVE を返します。
プロセス ハンドルは待機可能です。プロセスが終了すると、シグナルが送信され、待機中のスレッドが解放されます。WaitForSingleObject、WaitForMultipleObjects などで使用できます。