I hope this is not a no-brainer question, but in Windows, is it possible to programmatically (C++) check which DLLs have been loaded by other concurrently running programs?
I know that the GetModuleHandle functions can be used to detect DLLs that have been loaded by the current program, but it does not work across program boundaries.
Any ideas?
Toolhlp32.dll does that. See here:
http://msdn.microsoft.com/en-us/library/ms686840(v=VS.85).aspx
The API you ultimately want is Module32First/Next.