In-depth DLL programming in DelphiAuthor: CEN Xin
Introduction
I believe that some friends with computer knowledge should have heard of "dll ". Especially those who have used the Windows operating system should have had the "miserable" experience of reinstalling the system many times-no matter how careful, no driver damage, no virus intrusion, after using (installing) The software for a period of time, I fo
. NET is a language that is built on virtual machines that directly generates the intermediate language of MSIL, and then the. NET compiler JIT interprets the image as native code and delivers CPU execution. Intermediate languages are easy to decompile, so study how to protect DLL files effectively.
My general approach is: strong signature + obfuscation + encryption.Strong signatureStrong-Named assemblies ensure that your assembly is unique and not t
After uninstalling the software, more or less will be on the machine residue of some useless files, such as DLL file, very annoying. Even more troubling, there are often cases where you cannot delete these remaining DLL files. The reason is that the DLL file is being invoked by a process that is running on the current system. After knowing the reason, we can easi
DLL component version compatibility problem is often encountered in production development, common component compatibility issues such as: newtonsoft.json,log4net, etc.In order to save everyone time, want to see the solution directly, you can directly click on the table of contents 3, 4Catalogue1. Reasons for version compatibility issues2. Resolve version Compatibility Prerequisites3. Specify a specific version bindingredirect**4. Specify a specific v
After reading this hint, many netizens try to reinstall the application according to the prompt method to resolve the failure, perhaps reinstall the application may be able to remove the failure, if the failure is still what to do? Then we continue to look down.
What is Mousesrv32.dll?
Reinstalling the application does not solve the problem, let's learn about this Mousesrv32.dll file. Mousesrv32.
The same problem is when I interview the director, the director asked me a question, these days have been busy, have not read a book, summed up this question today? Why does a process use a dynamic link library and another process can continue using it? At that time, the answer is very general, only half of the answer, and now here to summarize it!As we have said before, there are several ways to communicate between processes, but the dynamic link library We are talking about is also one of the
in recent times, often encountered these problems, a while ago, did not remember, did not think of recent research and some do not remember, today write it down for forgetting. The DLLs we provide to other languages are usually called C or C.+ + is written and then encapsulated. My side is also used in C + +. First, there are a few points to note:1, if the functionality is simple, or if you do not use a third-party library (such as an MFC-brought library), create a Win32 console program, and the
Do not register calling an ActiveX Dll(by LINGLL completed on 2006-2-7 13:45)
Each ActiveX DLL should have a DllGetClassObject function that can be used to create the required COM object directly, without having to pass through the registry (or register).
Stdapi DllGetClassObject (Refclsid Rclsid,//clsid for the class objectREFIID riid,//reference to the identifier of the interfaceThat communicates with the
Solve | Problem Summary: This article describes the assembly concept and explains how the. NET Framework uses the assembler to solve versioning and publishing issues.
Directory
Brief introduction
Problem description
Characteristics of the solution
Assembly: Building Blocks
Versions and shares
Version Policy
Release
Summary
--------------------------------------------------------------------------------
Brief introduction
The Microsoft®.net framework introduces several new features designed
DLL component version compatibility problem is often encountered in production development, common component compatibility issues such as: newtonsoft.json,log4net, etc.
In order to save everyone time, want to see the solution directly, you can directly click on the table of contents 3, 4
Catalogue
1. Reasons for version compatibility issues
2. Resolve version Compatibility Prerequisites
3. Specify a specific version bindingredirect**
4. Specify a spec
Information Source: lams.blogchina.com
Preface
Backdoor! I believe this term will not be unfamiliar to you, but it will not be harmful to you. However, as people's security awareness gradually increases, it also adds the "strong support" of anti-virus software ", so that traditional backdoors cannot hide themselves. Anyone with a little knowledge about computers knows how to "Check ports" and "view processes" to discover some clues ". In this way, the process and port are hidden. This article t
I. Preface
Since Microsoft launched a 16-bit Windows operating system, every version of Windows operating system is dependent on functions and data in the dynamic link library (DLL, in fact, almost all content in Windows is represented by DLL in one or another form, for example, the displayed fonts and icons are stored in the gdi dll, the Windows desktop is d
Today, when running the "pleasant goat and gray wolf Screensaver. exe" program under the Win8.1 system, it suddenly pops up as shown in the System error window:
The content is "system error." This program cannot be started because MSVBVM50.DLL is missing from the computer. Try reinstalling the program to resolve this issue. ”
First, popularize common sense, MSVBVM50. What is a DLL file? DLLs are ab
Today try to write a simple c++dll, and call it with another CPP, do not say anything, first put the code1.DLL (bubbling Algorithm)extern"C"_declspec (dllexport)void Maopao (int *p,int count); void Maopao (int *p, int count) {int temp=0; for (int i=1;i {for (int J=count-1;j>=i;j--) {if (P[j]>p[j-1]) {temp=p[j]; p[j]=p[j-1]; p[j-1]=TEMP; } } } 2. Calling the
We know that the Windows DLL is not able to run independently, but Microsoft has provided rundll32.exe for running DLLs.
Test first: Run "Rundll32.exe shell32.dll,restartdialog" and the restart dialog will pop up. The same way you can turn on other features of Windows systems.
Here's a look at how to define your own DLL to let Rundll32.exe run.
The
Backdoor! I believe this term will not be unfamiliar to you, but it will not be harmful to you. However, as people's security awareness gradually increases, the "strong support" of anti-virus software is added ", so that traditional webshells cannot hide themselves. Anyone with a little knowledge about computers knows how to "Check ports" and "view processes" to discover some "clues ". In this way, the process and port are hidden. This article takes "DLL
Brief introductionIn the previous chapters, I introduced knowledge about remote thread injection, and implemented backdoor. dll files into the Explorer.exe to bypass the firewall bounce back door. But an. exe file always takes a. dll file when it is injected it is really troublesome, then there is no way to do not apply to the. dll file implementation injection?T
. NET is a language that is built on a virtual machine that generates the intermediate language of the MSIL directly, and then the. NET compiler JIT interprets the image as native code and delivers CPU execution. The intermediate language is easy to decompile, so study how to effectively protect DLL files. My approximate method is: Strong signature + obfuscation + encryption. Strong-Signed strong-named assemblies ensure that your assemblies are unique
We know that Windows DLL is not able to run independently, but Microsoft provides rundll32.exe for running DLLs.
First Test: Run "Rundll32.exe Shell32.dll,restartdialog", will pop up the restart dialog box. This same way you can turn on other features of the Windows system.
Here's how to define your own DLL to let Rundll32.exe run.
The
Msvcr100.dll is a dynamic link library of Visual Studio 2010, if a program is developed with it, then the program may need to run the dynamic link library, some programs directly packaged it into the installation directory, and register, there will be no missing problems; However, some programs have the default system in the dynamic link library, no processing, there will be missing problems. So what is the reason for the loss of Msvcr100.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.