CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: detect .dll

  1. #1
    Join Date
    Oct 2021
    Posts
    1

    detect .dll

    Hello everybody, i was looking for similar problem like mine, but i still cannot find solution.

    It's about how I can detect loaded dll, and therefore to exit the process.
    For example
    I am using program, which everytime, when i run, Avast cyber capture is activated.

    I found that avast uses snxhk.dll(which is located in C:\Program Files\Avast Software\Avast) is responsible for cyber capture.

    My question is, is there any variant to check memory regions for exactly this dll, and when Avast cyber capture is activated an this process exist , just exit the process, or just terminate.

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: detect .dll

    Yes, there are ways.

    You could make use of API classes such as GetActiveProcess and GetWindowThreadProcessId

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured