Pausing a program and removing a dll from it

Posted on 2006-04-24
Last Modified: 2010-04-05
I don't know if it's possibile.Anyway.
I read about how to freeze a application.(there was not listed the source code)
Is there a way not only to freeze the application but to remove the "x.dll" from it, than later attach a new "x.dll" to it and resume the application.

Thanks in advance

Question by:diandr

    Author Comment

    Also the program has to find the application that use "x.dll"
    LVL 12

    Accepted Solution

    if youre not interested in the code but rather in tools to accomplish this, goto and search for "pssuspend" and "handle". the first will suspend or resume whole processes, the other can list open handles of a given process and also kill handles. only the re-attach of another library is not possible with that tools.

    but what you want sounds suspect. why want you to freeze an app, change one of its dlls with another (i guess modified) one and then resume it? why wont it work with initially starting the app with the other dll?
    LVL 26

    Expert Comment

    You don't have to 'freeze' an app to unload a DLL. Just use FreeLibrary and LoadLibrary to reload it.
    LVL 12

    Expert Comment

    Eddie, i think he wants to do it to a foreign application, not his own ;-)

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
    Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now