Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7530591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:57:09+00:00 2026-05-30T04:57:09+00:00

I have a managed .NET application. I am attempting to get all the process

  • 0

I have a managed .NET application. I am attempting to get all the process modules that are loaded by a current process so I can figure out what the Base address of these modules are. However when I use the System.Diagnostics.Process.Modules function, I am not getting any of my C# modules back. However, I am getting C++/CLI modules back which is weird because it’s all the .NET framework.

The project that I am calling the System.Diagnostics.Process.Modules from references all of my dll’s and uses them, however they’re just not showing up in the module collection.

Any advice ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T04:57:11+00:00Added an answer on May 30, 2026 at 4:57 am

    Looks like this is a bug in .Net 4.0 that didn’t get fixed

    http://social.msdn.microsoft.com/Forums/en/netfxappcompatprerelease/thread/5bc8a424-8770-4a34-80e4-6108ea95c28d

    Here is some what some used for a work around

    https://connect.microsoft.com/VisualStudio/feedback/details/546430/system-diagnostics-process-modules-doesnt-include-managed-dlls

    After more research … I want to improve on my answer. This is a fact a bug in .Net 4.0. I knew I had done it before but it was in Dot Net 3.5 and it works with Managed and UnManaged

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .net managed application that interops with a native dll. Problem is
All, I have a .NET managed application which runs in 32bit machines. I am
I have successfully implemented interop beftween Win32 application and managed .Net dll as described
We have an ASP.NET application that manages it's own User, Roles and Permission database
I have an ADO.NET Managed Data Provider that is registered in machine.config in DbProviderFactory
I have a wrapper managed application(.net) over a COM Component(created using vb6) where Com
I have soft real-time .NET application run on W2008R2. I just realised that I
We have a .Net application consisting of mixed managed and unmanaged code. We have
I have a .NET application that interops with native dll with following layers. a)
I have an application that runs fine on .Net 2.0 SP2, but fails to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.