how can one tell (using non-CLR C++) which DLLs is a given running process (by ID) using? With file system paths to those DLLs and EXE.
Thank you in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are trying to do this in code, you are probably looking for the
EnumProcessModulesfunction (orK32EnumProcessModulesdepending on operating system. See the link for more details). There is anEnumProcessModulesExthat can give you a little more more information. Simply give it a handle to the process you want to know which modules (DLLs) are loaded. If you don’t know the handle, you can find it usingEnumProcessesorOpenProcessif you know the PID.