Exporting a function from a module is done by placing the function entry in function list of .EDATA section.
MS VC++ compiler has specific keyword __declspec(dllexport) to export a function or variable from a module.
__declspec(dllexport) <function prototype>;
__declspec(dllexport) <type definition>;
__declspec(dllexport) int extrn_var;
__declspec(dllexport) int Function1(int a);
The second method of exporting a method from a module is done by placing function name in a .def file in EXPORTS section. We have a later section export a function without __declspec(dllexport) keyword to discuss this in details.
You have viewed 1 page out of 27. Your DLL learning is 0.00% complete. Login to check your learning progress.
Similar topics related to this section
DLL Frequently Asked Questions
Frequently Asked Questions - DLL-files.com
Dependency Walker Frequently Asked Questions (FAQ)
Top 10 DLL Questions !
DLL COM DCOM Interview Questions and Answers
| #1 webmaster Thu 27 Feb/2014 20:46:13(GMT) || 0 || 0|
We are pleased to inform you that a forum/blog has been incorporated with www.mybestnotes.co.in. You are welcomed to add your comments, requests, codes, solutions and feedback to it. Please login(if already a member) or signup(for free) to avail to this facility.
Your message goes here: