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. dll build problem

dll build problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++tutorialquestion
2 Posts 2 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
    will1383
    wrote on last edited by
    #1

    I'm writing a dll and I want a .lib file to be produced. Problem is the file isn't being created. I have unchecked the "Doesn't produce .LIB" option under the Link tab in the project settings like I'm supposed to, but for some reason it still isn't producing the .lib and I don't remember how to fix this. So what do I need to do? I'm using VC++ 6.0 Thanks!

    B 1 Reply Last reply
    0
    • W will1383

      I'm writing a dll and I want a .lib file to be produced. Problem is the file isn't being created. I have unchecked the "Doesn't produce .LIB" option under the Link tab in the project settings like I'm supposed to, but for some reason it still isn't producing the .lib and I don't remember how to fix this. So what do I need to do? I'm using VC++ 6.0 Thanks!

      B Offline
      B Offline
      Brian Shifrin
      wrote on last edited by
      #2

      That checkbox never worked for me.... I would modify .dsp to: LIB32=link.exe -lib # ADD BASE LIB32 /nologo # ADD LIB32 /nologo TargetPath=.\Release\My.lib from LINK32=link.exe # ADD BASE LINK32 /nologo /subsystem:windows /dll /machine:I386 # ADD LINK32 /nologo /subsystem:windows /dll /machine:I386

      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