Terminateprocess for pocket?
Posted: Wed Feb 08, 2006 10:33 pm
one sample code please !
this does not work.
Code: Select all
HB_FUNC (MATAPRG)
{
HWND hWnd;
BOOL lRet = FALSE;
hWnd = FindWindow (NULL, L"nPOP" );
if (hWnd)
{
TerminateProcess(hWnd, 0);
// PostMessage(hWnd ,WM_SYSCOMMAND,WM_DESTROY,0);
lRet = TRUE;
}
hb_retl (lRet);
}