Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to add .dll

How to add .dll

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
9 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    manu_2205
    wrote on last edited by
    #1

    HI How can i add .dll file in my project i am using VS7.

    manu

    P H 2 Replies Last reply
    0
    • M manu_2205

      HI How can i add .dll file in my project i am using VS7.

      manu

      P Offline
      P Offline
      prasad_som
      wrote on last edited by
      #2

      Can you be more detailed about your problem ?

      Prasad Notifier using ATL | Operator new[],delete[][^]

      M 1 Reply Last reply
      0
      • P prasad_som

        Can you be more detailed about your problem ?

        Prasad Notifier using ATL | Operator new[],delete[][^]

        M Offline
        M Offline
        manu_2205
        wrote on last edited by
        #3

        I need some functionality in my project related to outlook.But i have one .dll file that contains some function that is useful for me . Thats why i want to use them and this is possible after added the dll my code. How can i do this

        manu

        P 1 Reply Last reply
        0
        • M manu_2205

          I need some functionality in my project related to outlook.But i have one .dll file that contains some function that is useful for me . Thats why i want to use them and this is possible after added the dll my code. How can i do this

          manu

          P Offline
          P Offline
          prasad_som
          wrote on last edited by
          #4

          manu_2205 wrote:

          I need some functionality in my project related to outlook

          For this, there must be a interface you want to use.

          manu_2205 wrote:

          But i have one .dll file that contains some function that is useful for me .

          Using dll is same as you was using in VC6. Either by implicit linking or explicit linking.

          Prasad Notifier using ATL | Operator new[],delete[][^]

          M 1 Reply Last reply
          0
          • P prasad_som

            manu_2205 wrote:

            I need some functionality in my project related to outlook

            For this, there must be a interface you want to use.

            manu_2205 wrote:

            But i have one .dll file that contains some function that is useful for me .

            Using dll is same as you was using in VC6. Either by implicit linking or explicit linking.

            Prasad Notifier using ATL | Operator new[],delete[][^]

            M Offline
            M Offline
            manu_2205
            wrote on last edited by
            #5

            Plz tell me about implicit/explicit linking in c++. Actually i am new in c++. Before i have worked in c#. Thanx in advance

            manu

            P 1 Reply Last reply
            0
            • M manu_2205

              Plz tell me about implicit/explicit linking in c++. Actually i am new in c++. Before i have worked in c#. Thanx in advance

              manu

              P Offline
              P Offline
              prasad_som
              wrote on last edited by
              #6

              Hmmm, you need little reading. This series of articles[^] should give you idea.

              Prasad Notifier using ATL | Operator new[],delete[][^]

              1 Reply Last reply
              0
              • M manu_2205

                HI How can i add .dll file in my project i am using VS7.

                manu

                H Offline
                H Offline
                Hamid Taebi
                wrote on last edited by
                #7

                Do you want to use of functions on the dll?


                WhiteSky


                M 1 Reply Last reply
                0
                • H Hamid Taebi

                  Do you want to use of functions on the dll?


                  WhiteSky


                  M Offline
                  M Offline
                  manu_2205
                  wrote on last edited by
                  #8

                  Yes i want to use function of dll

                  manu

                  H 1 Reply Last reply
                  0
                  • M manu_2205

                    Yes i want to use function of dll

                    manu

                    H Offline
                    H Offline
                    Hamid Taebi
                    wrote on last edited by
                    #9

                    You need to load dll LoadLibrary and then use of GetProcAddress for return address of function on dll and in the end use of FreeLibrary


                    WhiteSky


                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups