?
Solved

comctl32.lib : fatal error LNK1136: invalid or corrupt file - Why?

Posted on 2003-02-22
7
Medium Priority
?
342 Views
Last Modified: 2013-12-03
Please help - just can't figure this out.

I get this error when I link in the comctl32.lib.
I am using VC++ 6 with Windows XP and assume that there
is a compatibility issue. I have tried lots of different
versionbs of comctl32.lib that I have found in...

C:\apps\Microsoft Platform SDK\Lib
and the VC++ one

But no luck. Can't find any references to such a problem
on the internet. Am I the only one!

Help would be much appreciated.
0
Comment
Question by:marco_christoforou
[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
  • 2
7 Comments
 

Expert Comment

by:BabuPrasanna
ID: 8007262
What specific error is being displayed??
At what time?? runtime or link time??
0
 
LVL 49

Accepted Solution

by:
DanRollins earned 300 total points
ID: 8028478
It can't be an XP-compatibility issue becasue the program never gets executed.  

>>I have tried lots of different versionbs of comctl32.lib
Perhaps you just *thought* you tried these, but the same old (actually corrupt) file is getting read each time.  To avoid this, delete or rename all copies of comctl32.lib and try to rebuild.

One other (longshot)  turn off any anti-virus program that is running.
-- Dan
0
 

Author Comment

by:marco_christoforou
ID: 8032124
Thanks people I have found the answer. Much to my dismay I really did have a corrupt file!!! I got a friend to send me his version. Can't imagine how this happened.

Thanks anyway.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8032222
Exactly as I suspected.  -- Dan
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

800 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