Thread: Cannot open precompiled file error

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    9

    Cannot open precompiled file error

    hi guys,
    im constanly getting this "Cannot open precompiled file" error, which means that VC is not creating the obj, files.
    i've serched the MSDN, and all the tips in there wouldn't fit my case.
    has anybody had a similar x-perience???
    how can i solve it????
    thanks in advance for your time

    1976

  2. #2
    Registered User
    Join Date
    Sep 2001
    Location
    England
    Posts
    121
    Error C1010, error with precompiled header directive or something like that? If that's the case you need #include "stdafx.h" above all your other includes, that's the easiest way. If it isnt that error then just ignore me completely

  3. #3
    Registered User Liam Battle's Avatar
    Join Date
    Jan 2002
    Posts
    114
    yea add that header, also you may want to check your msvc++ project settings ect...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. An error is driving me nuts!
    By ulillillia in forum C Programming
    Replies: 5
    Last Post: 04-04-2009, 09:15 PM
  2. Avoiding Global variables
    By csonx_p in forum Windows Programming
    Replies: 32
    Last Post: 05-19-2008, 12:17 AM
  3. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  4. Couple C questions :)
    By Divx in forum C Programming
    Replies: 5
    Last Post: 01-28-2003, 01:10 AM
  5. UNICODE and GET_STATE
    By Registered in forum C++ Programming
    Replies: 1
    Last Post: 07-15-2002, 03:23 PM