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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. problem with lib file

problem with lib file

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorial
6 Posts 4 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.
  • W Offline
    W Offline
    With_problem
    wrote on last edited by
    #1

    i have dll file and header for dll but i ont hev .lib file for that how to get that .can anybody help me out

    T P M 3 Replies Last reply
    0
    • W With_problem

      i have dll file and header for dll but i ont hev .lib file for that how to get that .can anybody help me out

      T Offline
      T Offline
      ThatsAlok
      wrote on last edited by
      #2

      abrakadbra wrote:

      i have dll file and header for dll but i ont hev .lib file for that how to get that .can anybody help me out

      then you have to dynamically load function or take long route.. i never tried, but have a try make a new dll based project with same dll name .. this will generate you new lib file.. which i believe can be used with existing dll... my assumption is that dll lib file contain runtime declaration of function signature

      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

      cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and you

      1 Reply Last reply
      0
      • W With_problem

        i have dll file and header for dll but i ont hev .lib file for that how to get that .can anybody help me out

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

        You need to have some exported symbol/function to generate .lib.

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

        W 1 Reply Last reply
        0
        • P prasad_som

          You need to have some exported symbol/function to generate .lib.

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

          W Offline
          W Offline
          With_problem
          wrote on last edited by
          #4

          can you pls tell me in more detail how to do this

          P 1 Reply Last reply
          0
          • W With_problem

            can you pls tell me in more detail how to do this

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

            A Quick search on CP gives me list of articles. Here one of them[^].

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

            1 Reply Last reply
            0
            • W With_problem

              i have dll file and header for dll but i ont hev .lib file for that how to get that .can anybody help me out

              M Offline
              M Offline
              Mark Salsbery
              wrote on last edited by
              #6

              This may or may not help as well... How To Create 32-bit Import Libraries Without .OBJs or Source[^]

              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