Thread: mixing c file with c++ file

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    71

    mixing c file with c++ file

    Hi,

    I have two projects and want them to get together. But I have a problem with mixing c and c++ files.

    I get this error while compiling:

    process.c fatal error C1853: 'Debug/service.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)

    I try to solve my problem with this ms paper:
    http://support.microsoft.com/kb/126717
    but nothing there really work.

    Can somebody help me with this problem.


    Thank you for help,
    keeper

    p.s. I use MS Visual Studio 2003 and its internal compiler.
    Last edited by keeper; 06-24-2007 at 04:45 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems passing a file pointer to functions
    By smitchell in forum C Programming
    Replies: 4
    Last Post: 09-30-2008, 02:29 PM
  2. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 01:04 PM
  3. archive format
    By Nor in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 08-05-2003, 07:01 PM
  4. Making a LIB file from a DEF file for a DLL
    By JMPACS in forum C++ Programming
    Replies: 0
    Last Post: 08-02-2003, 08:19 PM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM