Suppose I've installed multiple version of a software, some of the DLLs are register as COM. For example:
.../version1/Application.exe
normal.dll
comObject.dll -- register as COM to use
.../version2/Application.exe
normal.dll
comObject.dll -- register as COM to use
How can know which comObject.dll is registered?(which path? under folder "version1" or "version2"?) Answer: One way of doing this is to use "Process Explorer", go to "Find | Find Handle or DLL...", input "comObject.dll" and click "Search" button. Then the path is shown in the list.
NOW COMES TO MY QUESTION: If a software package is huge with hundreds of COM based DLLs installed, I don't want to manually open "Peocess Explorer" and search each DLL/OCX/EXE, more than that, in the search result, it is impossible for me to copy the list contents out!!
All I want is a tool to run like following command and I can run in a bat file.
ProcessExplorer.exe -Find "comObject1.dll" -append "C:\temp\output.txt"
ProcessExplorer.exe -Find "comObject2.dll" -append "C:\temp\output.txt"
ProcessExplorer.exe -Find "comObject3.dll" -append "C:\temp\output.txt"
output.txt can be looks like this:
Process PID Type Handle or DLL
comObject1.dll 1 DLL C:\ApplicationExample\Version1\comObject1.dll
comObject2.dll 1 DLL C:\ApplicationExample\Version1\comObject2.dll
comObject3.dll 1 DLL C:\ApplicationExample\Version2\comObject3.dll
In the example above, comObject1.dll and comObject2.dll are from Version1 folder, while comObject3.dll is from Version2 folder.
The tool has an area that shows all dynamic link libraries (DLLs) and handles, icons, command lines, full image paths, memory statistics, security attributes and more. The bottom window provides a zoomed-in look at the Windows processes, and it changes depending on what mode Process Explorer is in.
Yes, you heard right: Process Explorer can completely replace your built-in Task Manager. You can start it with Ctrl + Alt + Delete or Ctrl + Shift + Escape, just the same way as native Task Manager before.
Process Explorer can help you out with that. In the Options menu, you'll see an item labelled Replace Task Manager. Select that, and every action that would normally have triggered Task Manager, whether you invoke it from the command prompt or select it from the Ctrl+Alt+Delete menu, launches Process Explorer instead.
The command-line equivalents of the great Process Explorer are ListDlls and Handle. That's probably what you need.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With