[VB Open Source] KILLIT: ASPCOM + Component Development Aid Software

xiaoxiao2021-03-06  85

Related Posts: http://community.9cbs.net/expert/topic/3312/3312640.xml? Temp = .1247522 Question: Use VB written by the DLL file, after registration, use the ASP call. Found there is a problem, modify the DLL Source code, compile it into a DLL file, want to overwrite the original DLL file, but prompt to reject the operation. This DLL cannot be deleted, and it has been unregified with Regsvr32, even if the IE page of the component is also closed. This is because the resources occupied by DLLHOST will not be released immediately after we debugging. So only use the task manager to be closed. Program implementation ideas: The purpose is clear, it is to kill the DLLHOST process. If you have played a NT series, the PS series tools are estimated, and the PS series tool can directly cut to the system RANG0 level to operate in which PSKILL can kill any process, including critical system processes. We start here. PSKILL is a tool executing in the command line, the execution statement is: the file path / pskill process name, but this tool is cut to the DOS window every time, add parameters, I started to write a batch of handling files. Completed killdll.bat ===================================================================================================================================================================================================== ================== But after all, it is a graphical interface. Slightly spending a little, so, I will take a little trick. Use the shell function in VB to execute this command, say that you will understand this? Of course, in order to be a bit concealed, I rename pskill.exe into killres.dll, which is estimated that everyone can see it. Follow the steps below when performing operations. 1) When the program starts, it is judged whether killres.dll exists. There is no program that does not play. After execution, pop up the dialog prompt and then delete killres.exe, if it is not careful, it is not big. Of course, some of the skills, everyone is watching the code, huh, huh. Is it very simple? Haha, I think the idea is good, it is quite easy to use, if there is a text and understanding, please don't finish correct, make progress together, thank you. In addition: You can also use the API to stop COM 's approach, it is estimated that this will be simpler, leave it to everyone to discover it, write it away, don't forget to share it ~~~ Code and program download, RAR file password: www.facesun .Cn.

转载请注明原文地址:https://www.9cbs.com/read-122073.html

New Post(0)