DLL questions banner

27 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.

Dynamic Link Library Topics

  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
  26. How to call a DLL function from Visual Besic? answer
  27. How to call a DLL function from java? (Calling C/C++ native function from Java) answer

Dynamic Link Library, DLL executable sections, working mechanism, DLL Location, DLL loader, dependency chain, types of linking, entry point, implicit and explicit linking, imported and exported, export a function, __declspec,dllimport,dllexport, export a function, extern C, name mangling, export a class, call a DLL function, DLL instance, Process attach/detach, thread attach/detach, AFX Extension class, export MFC class, AFX_EXT_CLASS, dynamic linking in Linux, resource DLL, VB call DLL, Java call DLL,