CPlusOne
Notes, Syllabus, Questions, Ideas,
Books, Reference materials on Electronics


Quick Links
#Login #Sign up #Forum #Feedback

 

DLL Programming: 25 Exam and interview questions for DLL/Middleware developers/learners. Click on the link to get the detailed explanations. One you visit any answer you can navigate through next and previous link to jump from one answer to another. You can also select index to come back to this index page. Please provide us the rating and feedbacks of our questions and answers.

Topic Discussed: Static, dynamic, implecit and explecit linking, imported and exported in a module, declspec(dllimport), declspec(dllexport), extern "C" , name mangled, AFX Extension class, AFX_EXT_CLASS.

1) What is DLL and what are their usages and advantages? answer

2) What are the sections in a DLL executable/binary? answer

3) Explain the working mechanism of a DLL? answer

4) Where should we store DLLs ? answer

5) Who loads and links the DLLs? answer

6) What is dependency chain when using DLL? answer

7) How many types of linking are there? answer

8) What is the entry point function of a DLL? answer

9) What is implicit and explicit linking in dynamic loading? answer

10) How functions are imported and exported in a module? answer

11) How can I export a function from a module? answer

12) What is the utility of the keyword: __declspec(dllimport), __declspec(dllexport)? answer

13) How can I export a function without __declspec(dllexport) keyword? answer

14) Why the keyword extern C is used for codes when used with a C++ compiler? answer

15) What is name mangling in C++ function? answer

16) How a whole class can be exported? answer

17) How can I call a function of a DLL file? answer

18) When ever we execute an EXE, one application instance is created for each execution. Is it true for DLL also? How many instance of a DLL is created if a DLL is loaded from 5 different applications? Explain. answer

19) How a DLL comes to know that it has been loaded by one application as well as unloaded by it? answer

20) How Win32 sub-system informs the DLL when the application creates a thread? answer

21) What are AFX Extension class and Extension DLLs? answer

22) How classes are exported in MFC DLL? answer

23) For imports we use dllimport and for export we use dllexport keyword. MFC uses only one keyword AFX_EXT_CLASS, how can that be possible? answer

24) How we use dynamic linking in Linux? Give example. answer

25) What is resource DLL? When and how we can use it? answer

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

Back to Questions <<