Compartir a través de


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

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

The following procedure shows where to find the Project.reg file and how to open the file.

To open the Project.reg file

  1. In the Workspace window, choose the ParameterView tab.

  2. Expand the <OS design name> parameters node.

  3. Expand the C:\WINCE500 node.

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

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

  5. Expand the Project Specific Files node.

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

After you open the Project.reg file, use the following procedure to edit the file.

To edit the Project.reg file

  • Add text to the file in .reg file format.

    For more information, see Registry File.

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"

After you edit the Project.reg file, use the following procedure to save changes to the file.

To save your changes and close the Project.reg file

  • From the File menu, choose Save and then choose Close.

See Also

Registry File

Last updated on Thursday, February 02, 2006

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.