formdef.obj : fatal error LNK1179: invalid or corrupt file: duplicate comdat "??_7CFormDef@@6B

Posted on 2005-04-07
Last Modified: 2008-01-09
Hi All,

I have the following problem:

formdef.obj : fatal error LNK1179: invalid or corrupt file: duplicate comdat "??_7CFormDef@@6B

In ym code. I have received this by overcomming the LNK2005 error, by adding the /H operator to my project settings in teh C++ tab (am using Visual C++ 6.0).

Does anyone know how to resolve this issue? There seems to be nothing on the internet at all!

Thank very much....
Question by:bexMarriott
    LVL 86

    Accepted Solution

    Have you seen ("Linker Tools Error LNK1179")?
    LVL 86

    Expert Comment

    Thanx for all your feedback, that for sure helped to solve the question at the highest possible quality level!

    Author Comment

    Hi there,

    Sorry, was going to write a more constructive comment, but in in a hurry to match a deadline.

    The article did help, and infact allowed me to convert the errors to warnings, which still allows the program to compile and run properly.


    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    Join & Write a Comment

    Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
    This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
    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…
    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.

    729 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

    15 Experts available now in Live!

    Get 1:1 Help Now