
VDX-6318 Windows Embedded Compact 7 - Getting Started Guide
Windows Embedded Compact 7 Getting Started Rev 2.00
Page 96
Configure OS Design with Static IP Address
The OS design project can be configured to generate Compact 7 OS run-time image with
preconfigured static IP address, by adding the necessary registry entries to the
OSDesign.reg
file.
Work through the following steps to configure the OS design with static IP address:
With the OS design project active, click on the
Solution Explorer
window from the
VS2008 IDE.
Expand the
Parameter Files
node and double click on
OSDesign.reg
to open this file in
the code editor window.
From the code editor window, add the following registry entries to the end of the
OSDesign.reg
file.
[HKEY_LOCAL_MACHINE\Comm\PCI\R60401\Parms\TcpIp]
"EnableDHCP"=dword:0
"DefaultGateway"=multi_sz:"192.168.2.1"
"UseZeroBroadcast"=dword:0
"IpAddress"=multi_sz:"192.168.2.232"
"Subnetmask"=multi_sz:"255.255.255.0"
From the VS2008 IDE, select
Build → Build Solution
to generate a new Compact 7 OS
run-time image.
After the build process is completed, the resulting Compact 7 OS run-time image is generated with
the preconfigured static IP address.