Computer problems,Computer help
*AX SOFT>>>Programming & Design

Creating and using dll files in VC++ and its advantages?


How to create a dll file and more importantly how to use a dll file in the C++ code if i download some dll file..

The creation and use of DLLs with VC++ can be somewhat complicated depending on your requirements. If you create your own using the MFC wizard, it's not too bad at all. A great explanation with lots of code is provided in the CodeProject links below.

As for the advantages of DLLs:
The original purpose for DLLs was saving both disk space and memory required for Windows applications by sharing a single library between two loaded programs. DLLs provide the standard benefits of shared libraries, such as modularity. Another benefit of the modularity is the use of generic interfaces for plug-ins. A single interface may be developed which allows old as well as new modules to be integrated seamlessly at run-time into pre-existing applications, without any modification to the application itself. This concept of dynamic extensibility is taken to the extreme with ActiveX. Also, DLLs can be used as an indirect form of Inter-process communication. While the DLL code may be shared, the data is private except where shared data is explicitly requested. However, DLLs have a number of drawbacks, collectively called "DLL hell" (e.g. incompatible versions, DLL stomping, in-memory code pages).

Tags
  General - Computers & Internet   Software   Security   Programming & Design   Facebook   Flickr   Google   MSN   MySpace
Related information
  • I need a real advice please about making my website duplicatable...?

    You should hire a web design company to do the work for you. Once they do it, you can give everyone what they need with ease.

    ...
  • How do you add a html code to a image?

    Hi! The HTML Image tag is as follows <img src="path_to_the_image.jpg" width="image_width" height="image_height" border="0" alt="image_descripti...

  • What is the purpose and functions of a network operating system?

    A network operating system (NOS) is a piece of software that controls a network and its message (e.g. packet) traffic and queues, controls access by multiple users to network resources such as file...

  • There are multiple users sharing a single Datasheert..?

    Yes you can all you do is open the workbook, then on you menu click TRACK CHANGES>HIGHLIGHT CHANGES, then on the dialogue box check the box that says "TRACK CHANGES WHILE EDITING. THIS WILL...

  • What are the main reasons that it is so hard to develop systems that are used in multiple countries?

    It's difficult to write a site in multiple languages. It's difficult to write anything in multiple languages.

    ...
  • Why it is so difficult to identify the right requirements for a systems development project?

    If you understand both the problem and the environment in which you will design that system, there is no particular difficulty at all. You MUST remember that computer programming for a particula...

  • I am going insane, screwed up microsoft word some how?

    Right click on a blank spot of the toolbar, a dropdown menu will pop up showing all of the different toolbars available. I have the "standard", and the "formatting" checked, an...

  • How do i create my own layout for my own personal layout page?

    if you want to go all out.. you could do CSS (cascading style sheets) it's complicated.. but turns out nice.

    ...
  •  

    Categories--Copyright/IP Policy--Contact Webmaster