홈 · 개발 참고자료

개발 참고자료

[파워빌더] Get the application PID

작성자
관리자
작성일
2016-10-16
조회
10224
분류
파워빌더
The PID (process identifier) is a number assigned by the OS for a running process. You can view the allowed PIDs through the Task List on NT. This number can be useful to kill a process with a suitable utility.[local external function declaration]
FUNCTION long GetCurrentProcessId ( ) LIBRARY "kernel32.dll"

[powerscript]
long ll_pid
ll_pid = GetCurrentProcessId()
messagebox("PID" , string(ll_pid))