CE6.0 Build Failure
- From: atjimale@xxxxxxxxx
- Date: Tue, 21 Oct 2008 21:30:52 -0700 (PDT)
I am working on CE6.0 OS.
When i include a few SYSGEN variables and do a 'Rebuild Solution', the
build stops in sysgen phase of directx.
The build.log specifies the following error
Unhandled Exception: System.InvalidOperationException: The environment
block used to start a process cannot be longer than 65535 bytes. Your
environment block is 69632 bytes long. Remove some environment
variables and try again.
sd, Boolean unicode)
at Microsoft.PlatformBuilder.MainClass.Main(String args)
NMAKE : fatal error U1077: 'SysgenMake' : return code '0xe0434f4d'
As the error suggested, i removed some environment variables (some
unused ones for time being) from my platform and 'Rebuild Solution'.
This time the build succeeds.
Is there such limit of 65535 bytes for the environment variables and
if it is, is removing the environment variables a correct solution?
The env variables that i have removed are just temporary for now, but
these will be used later on during the project.
How do i find out how much the size of the environment variables is in
Is there a way to increase the size limit on environment variables?
Appreciate a quick response.
Thanks in advance