
VDX-6318 Windows Embedded Compact 7 - Getting Started Guide
Windows Embedded Compact 7 Getting Started Rev 2.00
Page 33
[HKEY_LOCAL_MACHINE\Startup]
"Process2"="App_01.exe"
"Process2Delay"=dword:3A98
"Process3"="App_02.exe"
"Process3Delay"=dword:4E20
Note:
The process delay entries above are randomly selected. You can configure the delay based on your
need.
3A98 in HEX equal to 15000 in decimal, which represent 15000 ms or 15 seconds
You can configure the delay to control startup sequence between multiple applications.
Adding Registry Entries to OS Design
Work through the following steps to add the necessary registry entries for the FTP Server and
Telnet Server to the OS design:
From the VS2008 menu, select
View
→Solution Explorer
to bring up the
Solution
Explorer
window.
From the
Solution Explorer
window, expand the
\Parameter Files
node, and double
click on
OSDesign.reg
to open this file in the code editor window.
On the code editor window’s lower left, click on
Source
to view the
OSDesign.reg
registry file in source code format.
Scroll to the end of the file and add the following entries to
OSDesign.reg
:
; Registry entries for the FTP server component
[HKEY_LOCAL_MACHINE\COMM\FTPD]
"IsEnabled"=dword:1
"UseAuthentication"=dword:0
"UserList"="@*;"
"AllowAnonymous"=dword:1
"AllowAnonymousUpload"=dword:1
"AllowAnonymousVroots"=dword:1
"DefaultDir"="\\"
; Registry entries for the Telnet server component
[HKEY_LOCAL_MACHINE\COMM\TELNETD]
"IsEnabled"=dword:1
"UseAuthentication"=dword:0
Static IP Address
By default, the OS design generates a Compact 7 OS run-time image with DHCP enable to request IP
address dynamically. During the development process, it may be convenient to configure a Compact
7 OS run-time image preconfigured with static IP address, and provide a known IP to work with.
The OS design can be configured to generate an OS run-time image with preconfigured static IP
address by adding the following registry entries to OSDesign.reg:
[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"