Visual C++ fails if project is on network drive

Posted on 2004-11-07
Last Modified: 2010-04-13
I'm using Visual C++ .NET 2003 on Windows 2000. If my project is on a network drive (hosted by a Samba server), then the build fails in several strange ways. Sometimes, the compiler complains it cannot open a temporary file. Today, the compiler gave me INTERNAL COMPILER ERROR.

I don't care if the solution is to change something in the Windows/MSVC environment or on the Samba server; I'll just need a solution.
Question by:astrand
    LVL 2

    Author Comment

    I've found the solution myself: I need to disable Precompiled Headers (/YX). Btw, Microsoft seems to think that compiling code over a network share shouldn't work: See

    Accepted Solution

    PAQed with points refunded (300)

    Community Support Moderator

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

     Java Android Coding Bundle

    Whether you're an Apple user or Android addict, learning to code for the Android platform is an extremely valuable, in-demand skill. It all starts with Java, the language behind the apps and games that make Android the top platform it is today.

    NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
    When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
    This video Micro Tutorial is the second in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 ( But the ability to create custom scanning profiles a…
    This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

    884 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

    14 Experts available now in Live!

    Get 1:1 Help Now