C# file operation from entry to proficiency (2) - check which functions are in a certain dll

kernel32.dll contains the functions used for ini file operations. We can view the functions contained in the dll through the dumpbin.exe that comes with VisualStudio. The operation steps are as follows:

1. Find the folder where dumpbin.exe is located

I installed VisualStudio2019 Community Edition and VisualStudio2017Professional in my computer, but I found that dumpbin.exe was not found in VisualStudio2019 Community Edition, but dumpbin.exe was found in VisualStudio2017Professional, the path is as follows:
insert image description here

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64

Then right-click the mouse under the file, and open the cmd command window in the pop-up interface
insert image description here
insert image description here

2. Enter the command

According to the commands provided by most people on the Internet, press Enter after typing, but it fails, as follows: Failed
command:
dumpbin /exports c:\windows\system32\kernel32.dll

Guess you like

Origin blog.csdn.net/qq_34059233/article/details/132012743