Creating DLL in C

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aravindmosale
    New Member
    • Mar 2008
    • 1

    Creating DLL in C

    I want to create a standard dynamic linked library and have to write one function and call from a console application. Can anyone help??
  • gpraghuram
    Recognized Expert Top Contributor
    • Mar 2007
    • 1275

    #2
    Originally posted by aravindmosale
    I want to create a standard dynamic linked library and have to write one function and call from a console application. Can anyone help??

    If youa re using Microsoft Visual C++ 6.0 IDE then this is very easy.
    When creating the project you can specify the same and you have to add a .def file which specifies the functions being exported by the dll.

    Raghuram

    Comment

    • playc
      New Member
      • Mar 2008
      • 1

      #3
      Originally posted by aravindmosale
      I want to create a standard dynamic linked library and have to write one function and call from a console application. Can anyone help??
      If you are using visual stdio 6.0. Follow this link
      http://www.codeproject .com/KB/DLL/XDllPt1.aspx
      it explains step by step procedure to create and access the dll using visual c++ (with pictures).

      Comment

      Working...