devel-windows.rst
changeset 155 e475cd4f789a
parent 143 ff931ad0ec66
child 189 a433d6009641
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/devel-windows.rst	Mon Jul 20 21:25:37 2009 +0300
@@ -0,0 +1,63 @@
+-*- mode: outline -*-
+
+* Dependency Walker.
+
+Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows
+module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of
+all dependent modules. For each module found, it lists all the functions that
+are exported by that module, and which of those functions are actually being
+called by other modules. Another view displays the minimum set of required
+files, along with detailed information about each file including a full path
+to the file, base address, version numbers, machine type, debug information,
+and more.
+
+See
+
+  http://www.dependencywalker.com/
+
+* Kill process.
+
+** tskill.exe.
+
+  cmd> tskill {<pid>|<name>}
+
+** taskkill.exe.
+
+  cmd> taskkill /IM notepad.exe
+  cmd> taskkill /PID 827
+
+* lsof for Windows.
+
+** handle.exe from Sysinternals.
+
+  cmd> handle d:\home
+ispell.exe         pid: 244     784: D:\home\drivers\token_api\src
+Far.exe            pid: 432     10C: D:\home\drivers\token_api
+
+  cmd> handle -p 1265
+  C: File  (RW-)   C:\Program Files\Common Files\GTK\2.0\bin
+288: Section       \BaseNamedObjects\mmGlobalPnpInfo
+
+** TaskList.exe.
+
+  cmd> TaskList
+Process Name                 PID Session Name     #Session       Memory
+========================= ====== ================ ======== ============
+System Idle Process            0 Console                 0        28 KB
+System                         4 Console                 0       236 KB
+smss.exe                     592 Console                 0       432 KB
+csrss.exe                    656 Console                 0     4 404 KB
+winlogon.exe                 680 Console                 0     2 792 KB
+services.exe                 724 Console                 0     3 260 KB
+
+** netstat.exe.
+
+  cmd> netstat -o
+Type Local addr   Remote addr        State         PID
+TCP  user:1154    localhost:1153     ESTABLISHED   1512
+TCP  user:5152    localhost:1052     CLOSE_WAIT    1524
+TCP  user:1036    services.int:5222  ESTABLISHED   1188
+
+* Sysinternals.
+
+