Поделиться через


Modifying the Registry by Editing Project.reg (Windows Embedded CE 6.0)

1/5/2010

To modify the registry for an OS design that you currently have open in Platform Builder, you can edit the Project.reg file.

To open the Project.reg file in the IDE

  1. In Solution Explorer, choose Parameter Files, and then expand the node.

  2. Expand the node that matches the name of your BSP.

    For example, if you are using the CEPC BSP, expand the CEPC node.

  3. Right-click Project.reg and choose Open.

  4. Edit the .reg file.

  5. To save your changes and close the file, from the File menu, choose Save, and then choose Close.

Example

The following code example shows how you can add information about a registry key to the Project.reg file.

; Configure TCP/IP for the private interface, Subnet1 
[HKEY_LOCAL_MACHINE\Comm\<Private Network Interface Name (Adapter 1)>\Parms\Tcpip] 
"EnableDHCP"=dword:0 
"IPAddress"="10.0.1.1" 
"SubnetMask"="255.255.255.0"

See Also

Concepts

Registry File

Other Resources