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
In the Workspace window, choose the ParameterView tab.
Expand the <OS design name> parameters node.
Expand the C:\WINCE500 node.
Expand the node that matches the name of your BSP.
For example, if you are using the CEPC BSP, expand the CEPC node.
Expand the Project Specific Files node.
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
Last updated on Thursday, February 02, 2006
Send Feedback on this topic to the authors