Download presentation
Presentation is loading. Please wait.
1
Understanding DLLs and headers, and libs… Jeff Chastine
2
Dynamic Link Libraries
Real world: No longer building from scratch! DLLs – Dynamic Link Libraries Just a compiled set of functions Reusable Look in system32! Header file(s) Lib file(s) Jeff Chastine
3
HEADER FILES A description of available functions
No implementation (in DLL) Use #include “” search locally < > search elsewhere Jeff Chastine
4
LIB Files It’s a mystery! Relates the header file to the DLL
Binary file Tells where in the DLL the functions are! #include Header File LIB File DLL function1 function2 Needs function3 function75 function76 function77 Jeff Chastine
5
Now That you Understand
You’ll have to configure your environment (VS 2010) Tell it: Where the header files are Where the lib files are Which lib files to use Make sure the .exe can find the DLL! Jeff Chastine
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.