Originally posted by: jcl
LPCTSTR GetTaskManagerCaption()
// _tcscpy( szCaption, GetEnglishTaskManagerCaption() );
if ( lpszCaption == NULL )
lpszCaption = szCaption;
return lpszCaption;
That's work Better !
As lpszCaption is a pointer to szCaption and at each iteration szCaption is filled with english caption : TaskManagerEx does find taskman only the first time if it's shown before lauching TaskManagerEx.
Try to correct by :
{
static LPCTSTR lpszCaption = NULL;
static TCHAR szCaption[0x100];
{
HINSTANCE hTaskmgrExe = LoadLibrary( _T("taskmgr.exe") );
if ( hTaskmgrExe != NULL )
{
LoadString( hTaskmgrExe, 10003, szCaption, 0x100 );
FreeLibrary( hTaskmgrExe );
}
else
_tcscpy( szCaption, GetEnglishTaskManagerCaption() );
}
}
Originally posted by: Bob Grove
This is what a *real* os would provide in the first place. Thanks for picking up M$ slack! This saved a lot of guesswork.
Regards,
Bob Grove
Reply
Originally posted by: Jee Joon Young
Sometime I use windows task manager.
It show me total count(handle, thread and process).
I want to save them to file.
How can I do it?
Please give me idea..
Thanks for reading......
ReplyOriginally posted by: Fleming Shaw
2 places in LoadDll.cpp, after the lines
#if defined(UNICODE) || defined(_UNICODE)
One macro is missing and another one should use the
UNICODE version.
Reply
Originally posted by: Testing
One extra feature that I would like to see in the future is some listing of user/process.
Ex.
explorer.exe pid# .... administrator
Perhaps hard to do but nice when it's done.
Originally posted by: park jungjin
It's very nice.
Really useful.
Thanks!!
Reply
Originally posted by: Matteo
I've did all you said, but nothing seems to start.
How to do ?
bye
Originally posted by: Parth Shah
It works on XP prof ver also.
Gr8
Thanks for such a cool tool!!!
Originally posted by: Niki
I've used this utility very successfully so far.
I recently upgraded to Windows XP but it does not work any more..the "extension" menu button does not appear.
Has anyone been able to use it on Windows XP?
-Niki
Originally posted by: cool_dude
Cheers.
Change:
BOOL FindUsedDlg::OnInitDialog()
to:
BOOL FindUsedDlg::OnInitDialog()
This fixed the annoying bug where the edit control on the find dialogs doesn't get focus when the dialog is created.
-----------------------------
{
<-- blah blah -->
return TRUE; // return TRUE unless you set the focus to a control
}
{
<-- blah blah -->
m_fileNameCtrl.SetFocus();
return FALSE;
}