?
Solved

VS 2005 linked against WinDDK static library

Posted on 2011-03-13
5
Medium Priority
?
432 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 2000 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses

752 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