by astursoft » Wed Feb 08, 2006 10:33 pm
one sample code please !
- Code: Select all Expand view RUN
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
-
astursoft
-
- Posts: 139
- Joined: Sun Nov 06, 2005 6:14 pm
- Location: Asturias
by astursoft » Thu Feb 09, 2006 2:04 pm
solved
- Code: Select all Expand view RUN
HB_FUNC (MATANPOP)
{
HWND hWnd;
BOOL lRet = FALSE;
hWnd = FindWindow (NULL, L"nPOP" );
if (hWnd)
{
PostMessage(hWnd ,0x0002,0,0);
lRet = TRUE;
}
hb_retl (lRet);
}
Jose Luis Parajón
Asturias
-
astursoft
-
- Posts: 139
- Joined: Sun Nov 06, 2005 6:14 pm
- Location: Asturias
Return to FiveWin for Pocket PC
Who is online
Users browsing this forum: No registered users and 4 guests