Solved

VS 2005 linked against WinDDK static library

Posted on 2011-03-13
5
425 Views
Last Modified: 2012-05-11
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
Comment
Question by:trochel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 86

Assisted Solution

by:jkr
jkr earned 500 total points
ID: 35123783
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
 

Author Comment

by:trochel
ID: 35128988
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
 
LVL 86

Expert Comment

by:jkr
ID: 35130040
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
 

Accepted Solution

by:
trochel earned 0 total points
ID: 35130579
I will review the library and make sure it is valid!
0
 

Author Closing Comment

by:trochel
ID: 35187440
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question