How do I change a *.cpp "library file" into a *.dll

This is a discussion on How do I change a *.cpp "library file" into a *.dll within the Windows Programming forums, part of the Platform Specific Boards category; I am trying to build a small library. However, since I have no profeciency in how *.dll 's work, I ...

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    75

    How do I change a *.cpp "library file" into a *.dll

    I am trying to build a small library. However, since I have no profeciency in how *.dll 's work, I thought I would just have a header file as an interface for the library and include the *.cpp file in with the project.

    This is how I am working it so I can build up the library. In the long run tho, I was wondering if there would be an easy way to convert it so the user simply includes the header file for the inteface and then link to a *.lib during project creation and have a dll available when the program is run.

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    49
    Which compiler ?

  3. #3
    Unregistered
    Guest
    oh, MS Visual Studio.net, which is the same as MS Visual c++ 6 basically.

    Sorry for the late reply.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Change this program so it uses function??
    By stormfront in forum C Programming
    Replies: 8
    Last Post: 11-01-2005, 08:55 AM
  2. Need help with C program
    By ChrisH in forum C Programming
    Replies: 38
    Last Post: 11-13-2004, 01:11 AM
  3. adding a function to a program
    By trippedwire in forum C++ Programming
    Replies: 9
    Last Post: 09-30-2004, 01:35 PM
  4. help with calculating change from a dollar
    By z.tron in forum C++ Programming
    Replies: 3
    Last Post: 09-13-2002, 04:58 PM
  5. Replies: 2
    Last Post: 09-04-2001, 03:12 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21