What are the import functions and DLL files required in the DLL file?

Source: Internet
Author: User
Command Prompt
==========
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:/Documents and Settings/Master> H:

H:/> Cd H:/mygame/myatl/debug// Directory where the myatl. dll file is located

H:/mygame/myatl/debug> Path = % PATH %; C:/program files/Microsoft Visual Studio. NET
2003/vc7/bin// Zookeeper: the path of dumpbin.exe.

H:/mygame/myatl/debug> Path = % PATH %; C:/program files/Microsoft Visual Studio. NET
2003/common7/ide

H:/mygame/myatl/debug> path// Display the path in the Environment Variable
Path = C:/Windows/system32; C:/windows; C:/Windows/system32/WBEM; F:/3dsmax5/backburn
Er2/; C:/program files/common files/Autodesk shared/; C:/program files/Microsoft v
Isual Studio. NET 2003/vc7/bin; C:/program files/Microsoft Visual Studio. NET 200
3/common7/ide

H:/mygame/myatl/debug> dumpbin// View dumpbin Parameters
Microsoft (r) COFF/PE dumper version 7.10.3077
Copyright (c) Microsoft Corporation. All rights reserved.

Usage: dumpbin [Options] [files]

Options:

/All
/Archivemembers
/Clrheader
/Dependents
/Directives
/Disasm [: {bytes | nobytes}]
/Exports
/FPO
/Headers
/Imports [: Filename]
/Linenumbers
/Linkermember [: {1 | 2}]
/Loadconfig
/Out: Filename
/Pdata
/Pdbpath [: verbose]
/Rawdata [: {none | 1 | 2 | 4 | 8} [, #]
/Relocations
/Section: Name
/Summary
(Press <return> to continue)// Press enter to return to the command prompt

H:/mygame/myatl/debug> dumpbin myatl. dll/exports// Check the functions exported by myatl. dll. After entering my, press SHIFT + TAB to automatically complete the file name, similar to Ctrl + space in VC.
Microsoft (r) COFF/PE dumper version 7.10.3077
Copyright (c) Microsoft Corporation. All rights reserved.

Dump of file myatl. dll

File Type: DLL

Section contains the following exports for myatl. dll

00000000 Characteristics
2017d828e time date stamp Mon Apr 25 16:51:42 2005
0.00 version
1 ordinal Base
5 Number of functions
5 Number of names

Ordinal hint RVA name

1 0 000aeca8 dllcanunloadnow
2 1 000b0274 dllgetclassobject
3 2 000b0ab2 dllmain
4 3 000b2fa6 dllregisterserver
5 4 000b0341 dllunregisterserver

Summary

11000. Data
3000. idata
28000. RDATA
9000. reloc
2000. rsrc
168000. Text
Ad000. textbss

H:/mygame/myatl/debug> dumpbin myatl. dll/imports | more// Read the imported items (DLL files and functions), parameters | more split screen display
Microsoft (r) COFF/PE dumper version 7.10.3077
Copyright (c) Microsoft Corporation. All rights reserved.

Dump of file myatl. dll

File Type: DLL

Section contains the following imports:

D3d9. dll
1024ff5c import Address Table
1024f7cc Import Name table
0 time date stamp
0 index of first forwarder reference

0 direct3dcreate9

Winmm. dll
1024ff2c import Address Table
1024f79c Import Name table
0 time date stamp
0 index of first forwarder reference

-- More --
// Press any key to continue
................................................

// Omitted
................................................
29 pathfindextensiona

Summary

11000. Data
3000. idata
28000. RDATA
9000. reloc
2000. rsrc
168000. Text
Ad000. textbss

H:/mygame/myatl/debug>

End

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.