O'Reilly logo

Professional Windows® Embedded Compact 7 by Thierry Joubert, David Jones, Samuel Phung

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

USEFUL REGISTRY REFERENCES

System registry is one of the key components to configure a Compact 7 OS run-time image’s function and behavior. When a driver or application component is included in an OS design, you need to ensure the OS design includes appropriate registry entries for the component. Following are sample registry entries that can be useful for the development environment.

Registry for the FTP Server

When the FTP server component is added to the OS design, the following default entries are added to the project:

image
[HKEY_LOCAL_MACHINE\COMM\FTPD]
    "IsEnabled"=dword:0
    "UseAuthentication"=dword:1 
    "AllowAnonymous"=dword:1
    "AllowAnonymousUpload"=dword:0
    "AllowAnonymousVroots"=dword:0
    "DefaultDir"="\Temp\"
    "IdleTimeout"=dword:12c
    "DebugOutputChannels"=dword:2
    "DebugOutputMask"=dword:17
    "BaseDir"="\Windows"
    "LogSize"=dword:1000

Code snippet is from Sample_Registry.txt

The IsEnable entry is set to 0, which disables the FTP server and prevents it from running when the OS launches. With the default registry configuration, you need to manually launch the FTP server after the Compact 7 OS is launched on the target device.

To configure the FTP server to launch as part of the OS, enter the following entries to the OS design project’s OSDESIGN.REG registry file:

image
[HKEY_LOCAL_MACHINE\COMM\FTPD] ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required