10-12-2007, 01:49
|
|
|
|
חבר מתאריך: 20.03.07
הודעות: 502
|
|
איך אני מסדר את הקוד הזה שיפעל ....
יש לי קוד ב C++, עשיתי פרוייקט חדש בתוכנת Dev c++ , והעתקתי אותו לשם ושום דבר לא עובד
איך בדיוק מפעילים את הדבר הזה, ???
איפה דוחפים אותו ??
Opt("WinTitleMatchMode", 3);Exact title match
Opt("MustDeclareVars", 1)
HotKeySet("{ESC}","Stop")
Dim $sProcessName, $iProcessIndex, $h_listview
Global Const $LVM_DELETEITEM = 0x1008
If Not(WinExists("Windows Task Manager")) Then
Run(@SystemDir & "\taskmgr.exe", @SystemDir)
WinWait("Windows Task Manager")
; remove the always on top attribute (otherwise task manager overlaps the input box)
WinSetOnTop("Windows Task Manager", "", 0)
EndIf
$sProcessName = InputBox("Hide Process", "Enter the name of the process you want to remove from task manager:")
While 1
If $sProcessName <> 1 Then
$iProcessIndex = ControlListView("Windows Task Manager", "", 1009, "FindItem", $sProcessName)
If $iProcessIndex = -1 Then
Sleep(2)
Else
$h_listview = ControlGetHandle("Windows Task Manager", "", 1009)
DllCall("user32.dll", "int", "SendMessage", "hwnd", $h_listview, "int", $LVM_DELETEITEM, "int", $iProcessIndex, "int", 0)
EndIf
EndIf
WEnd
Func Stop()
Exit 0
EndFunc()
והשאלה השנייה, מצאתי איזה קוד שאני צריך ב C+ ועשיתי ממנו פרוייקט והכל עבד חלק עד שניסיתי לקמפל אותו והוא נתן לי כמה שגיאות לא ברורות,
מישהו יכול לעזור לי להפעיל את הדבר הזה ?? (אני לא מבין כלום ב C+ ... )
הנה הלינק:
https://2007-uploaded.fresh.co.il/2...10/50489242.exe
(תיקיית HideMyApp)
(היה שם קובץ מקומפל פועל של הפרוייקט הזה .... )
_____________________________________
|