You have a Windows Embedded Compact 7-based OS design that includes clone modules.
You build the OS design in Platform Builder.
In this scenario, the build is broken. Additionally, you receive the following error message:
Unhandled Exception: System.InvalidOperationException: The environment block used to start a process cannot be longer than 65535 bytes. Your environment block is <’nnn’> bytes long. Remove some environment variables and try again. at System.Diagnostics.EnvironmentBlock.ToByteArray(StringDictionary sd, Boolean unicode) at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at Microsoft.PlatformBuilder.MainClass.Main(String args) NMAKE : fatal error U1077: C:\WINCE700\public\common\oak\bin\i386\SysgenMake.EXE: return code '0xe0434f4d'
When you include clone modules in an OS design, SysgenMake.exe checks the environment block size for all modules. This process occurs when the NMAKE/RES2RES process is called during the OS design build. For some modules, such as the Coredllhs.dll module, the environment block size increases beyond the maximum allowed size (less than 64 KB). This causes the build to break, and then the "fatal error U1077" error message is generated.
Software update information
A supported software update that is named "Windows Embedded Compact 7 Monthly Update March 2012" is now available from Microsoft. In the "File information" section, the package file name contains the processor type.
Note This Windows Embedded Compact 7 Monthly Update is available for download from the Microsoft Download Center:
This update is supported only if all previously issued updates for this product have also been installed.
After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
On the Build menu, click Clean Solution, and then click Build Solution.
On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.
Update replacement information
This update does not replace any other updates.
The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Files that are included in this update package
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates