one sample code please !
this does not work.
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);
}this does not work.
Jose Luis Parajón
Asturias
Asturias