/
and headers, and libs… and headers, and libs…

and headers, and libs… - PowerPoint Presentation

pasty-toler
pasty-toler . @pasty-toler
Follow
375 views
Uploaded On 2017-09-17

and headers, and libs… - PPT Presentation

Understanding DLLs Jeff Chastine 1 Dynamic Link Libraries Real world No longer building from scratch DLLs Dynamic Link Libraries Just a compiled set of functions R eusable Look in system32 ID: 588755

jeff files header chastine files jeff chastine header lib dll file link dynamic search dlls

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "and headers, and libs…" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

and headers, and libs…

Understanding DLLs

Jeff Chastine

1Slide2

Dynamic Link Libraries

Real world: No longer building from scratch

!DLLs – Dynamic Link Libraries

Just a compiled set of

functions

ReusableLook in system32!Header file(s)Lib file(s)

Jeff Chastine

2Slide3

HEADER FILES

Jeff Chastine

3

A description of available

functions

No implementation (in DLL)Use

#include“” search locally< > search elsewhereSlide4

LIB Files

Jeff Chastine

4

It’s a mystery!

Relates the header file to the DLL

Binary fileTells where in the DLL the functions are!

#include HeaderFileLIB

File

DLL

Needs

f

unction1

function2

function3

function76

function77

function75Slide5

Now That you Understand

Jeff Chastine

5

You’ll have to configure your environment (VS 2010)

Tell it:

Where the header files areWhere the lib files areWhich lib files to use

Make sure the .exe can find the DLL!