473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Problems with PCH on Windows 2000 SP4

Dear world,

We are having issues with Windows 2000 SP4 and Pre-Compiled Header
(PCH) files that have been previously compiled on Windows XP using
..NET 2003. Recompiling the PCH files on Windows 2000 SP4 using /Yc
does work, but we really want to ship one PCH file to our customers
that will work on all versions of Windows.

Thanks very much

Paul.

PS The compiler output is below:
cl /c /G6 /O2 /W1 /Gd /vmg /MD /GX /EHs /DNO_STRICT /I"C:\Program
Files\Proph_72\data" /I"C:\Program Files\Microsoft Visual Studio .NET
2003\vc7\include" /I"C:\Program Files\Microsoft Visual Studio .NET
2003\vc7\PlatformSDK\include" /YuWatrunPreCompiled.h /Fp"C:\Program
Files\Proph_72\full_acc\PreComp\DotNETWatr_2003.PC H"

cl : Command line warning D4029 : optimization is not available in the
standard edition compiler

C0000000.cpp

C:\Prophet\Prophet 72\Proph VA Prod\N\C0000000.CPP(3) : warning C4653:
compiler option 'Optimizations (one or more of /Oawstgp[y]) or debug
checks (one or more of /GZ, /RTCcsu)' inconsistent with precompiled
header; current command-line option ignored

c1xx : fatal error C1001: INTERNAL COMPILER ERROR

(compiler file 'C:\Program
Files\Proph_72\full_acc\PreComp\DotNETWatr_2003.PC H', line 1)

Please choose the Technical Support command on the Visual C++

Help menu, or open the Technical Support help file for more
information

cpg00000.cpp

c1xx : fatal error C1060: compiler is out of heap space

c1xx : fatal error C1063: INTERNAL COMPILER ERROR
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more
information
Nov 17 '05 #1
3 2665
Paul wrote:
Dear world,

We are having issues with Windows 2000 SP4 and Pre-Compiled Header
(PCH) files that have been previously compiled on Windows XP using
.NET 2003. Recompiling the PCH files on Windows 2000 SP4 using /Yc
does work, but we really want to ship one PCH file to our customers
that will work on all versions of Windows.


AFIAK, there's no guarantee that PCH files are portable off the machine
where they were created, regardless of OS vrersion. That you've been able
to do it at all is just luck. I'd like to be proven wrong about this - but
that's my understanding.

-cd

Nov 17 '05 #2
DO NOT SHIP PCH FILES!!

They are guaranteed to work only a single machine that has nothing change in
the interim (hotfix, SP, whatever to the OS, the compiler, the CLR or
anything else basically). They are simply a dump of memory at the time we
have generated the info. Anything that changes that memory layout will make
them incompatible.

Ronald Laeremans
Visual C++ team

"Carl Daniel [VC++ MVP]" <cp*****************************@mvps.org.nospam >
wrote in message news:eE**************@TK2MSFTNGP12.phx.gbl...
Paul wrote:
Dear world,

We are having issues with Windows 2000 SP4 and Pre-Compiled Header
(PCH) files that have been previously compiled on Windows XP using
.NET 2003. Recompiling the PCH files on Windows 2000 SP4 using /Yc
does work, but we really want to ship one PCH file to our customers
that will work on all versions of Windows.
AFIAK, there's no guarantee that PCH files are portable off the machine
where they were created, regardless of OS vrersion. That you've been able
to do it at all is just luck. I'd like to be proven wrong about this -

but that's my understanding.

-cd

Nov 17 '05 #3
Hi Ronald + Carl,

We have been shipping PCH files for some time now, but I think you are
right that we have been very lucky that most of our clients haven't
hit compile problems until now. We will be making changes to our
product to regenerate PCH files on the target platform.

Thanks very much for the quick response guys and it's also pleasing to
see to see somebody from Microsoft replying!

Best regards,

Paul :)

"Ronald Laeremans [MSFT]" <ro*****@online.microsoft.com> wrote in message news:<#P**************@TK2MSFTNGP11.phx.gbl>...
DO NOT SHIP PCH FILES!!

They are guaranteed to work only a single machine that has nothing change in
the interim (hotfix, SP, whatever to the OS, the compiler, the CLR or
anything else basically). They are simply a dump of memory at the time we
have generated the info. Anything that changes that memory layout will make
them incompatible.

Ronald Laeremans
Visual C++ team

"Carl Daniel [VC++ MVP]" <cp*****************************@mvps.org.nospam >
wrote in message news:eE**************@TK2MSFTNGP12.phx.gbl...
Paul wrote:
Dear world,

We are having issues with Windows 2000 SP4 and Pre-Compiled Header
(PCH) files that have been previously compiled on Windows XP using
.NET 2003. Recompiling the PCH files on Windows 2000 SP4 using /Yc
does work, but we really want to ship one PCH file to our customers
that will work on all versions of Windows.


AFIAK, there's no guarantee that PCH files are portable off the machine
where they were created, regardless of OS vrersion. That you've been able
to do it at all is just luck. I'd like to be proven wrong about this -

but
that's my understanding.

-cd

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nitec Dev | last post by:
Our setup: server1 ASP database running on IIS5, Outlook 2000 and SQL 2000 on Windows 2000. Server2 runs Windows 2000 with Exchange 2000 using CDO 1.2 MAPI Sessions. Clients use IE5/6 and had...
0
by: Robert | last post by:
Hello, I'm using the http://www.codeworks.it/net/VBNetRs232.htm rs232 class to communicate with a portable instrument. It runs like a dream in Windows NT/2000/XP But in Windows 98 I get tons of...
1
by: 3f | last post by:
Hello; We have made a web application that people can download from our web site and installed on: Windows XP Windows 2000 Professional Windows 2003 Server Windows 2000 Server
2
by: Stimp | last post by:
This is a query to do with classic ASP (written through vbscript). I am trying to run an asp page on my local Windows 2000 machine which creates a folder in the root directory of my site, but...
4
by: Michael Augustine | last post by:
I am having problems debugging an Web form app in .net. I am getting the following error message "Unable to Start Debugging on the Webserver. Catostrophic Failure." I think the problem has to...
16
by: JCauble | last post by:
We have a large Asp.net application that is currently crashing our production servers. What we are seeing is the aspnet_wp eat up a bunch of memory and then stop unexpectedly. Does not recycle. ...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
0
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
3
by: Andreas | last post by:
Hi! I'm currently developing a DLL that makes use of C++ and .net (mixed) using Visual Studio 2003. Now, as I wanted to move to the new Visual Studio 2005, I converted this project into the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.