Solved

VS 2005 linked against WinDDK static library

Posted on 2011-03-13
5
416 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
  • 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
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.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now