[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 441
  • Last Modified:

VS 2005 linked against WinDDK static library

Hello
I just created a static library in WinDDK and linked into an application in VS2005.    It compiles and links and the application runs.   The problem is the statis library did not contain debug information so I get a LNK1103: debugging information corrupt; recompile module on the static library.  does the static library contain debug information or can it be built to do so OR can I build the application for debug excluding the need for debug info in the static library?
Thanks in advance for your reply
0
trochel
Asked:
trochel
  • 3
  • 2
2 Solutions
 
jkrCommented:
Missing debug information won't cause that error, this more likely points to a corrupted binary. Can you try to rebuild that library and check its integrity with 'lib.exe' and 'dumpbin.exe'?
0
 
trochelAuthor Commented:
It only provides this error in a Debug build.   When I build for Release, the application runs, but I cannot debug to resolve other errors
0
 
jkrCommented:
I understand that, but as I mentioned, this is most unlikely to cause this error (you're usually able to link any release library with a debug build, most 3rd party vendors don't even provide debug versions). Again, can you try to check the library's integrity with 'lib.exe' and 'dumpbin.exe'?
0
 
trochelAuthor Commented:
I will review the library and make sure it is valid!
0
 
trochelAuthor Commented:
I deviated from the static library approach because the response provided enough information to confirm that I was experiencing problems that were outside of the norm.   My alternate approach worked and all is well!!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now