Microsoft KB Archive/230759

= How To Debug Applications Using Visual C++ 6.0 for Embedded Devices Using TCP/IP as Transport Layer =

Article ID: 230759

Article Last Modified on 10/11/2004



This article was previously published under Q230759



SUMMARY
Visual C++ version 6.0 allows application developers to debug their applications using the platform manager for any custom embedded device that they are developing.



MORE INFORMATION

 * To debug applications with Visual C++ using TCP/IP as a transport layer, complete the following steps:


 * Configure Platform Manager on host to use TCP/IP as the transport layer.
 * Create a CESH connection between the host computer and target computer.
 * Make sure that the product Ethernet is working on the target device.
 * Connect to the device and start debugging using Visual C++.
 * To configure Platform Manager, complete the following steps:


 * Select Configure Platform Manager under the Tools Menu.
 * Choose TCP/IP Transport for Windows CE as your transport layer.
 * Go to Advanced and choose CESH server for Windows CE as your server. Do not choose Windows CE Services because that is intended only for retail devices.
 * For devices that are built using the ETK you can choose either CESH server for Windows CE or Manual Server. Currently, Manual Server is broken and does not work. Microsoft will fix Mansrv.dll and ship the updated version of Mansrv.dll in the next release of Platform Builder.
 * Configure the CESH server to point to the \WINCE211\Release directory.
 * To create a CESH Connection, please follow the instructions in Platform Builder documentation. The information is available in the getting started section.
 * Make sure that product Ethernet is working by doing the following:

You can make sure that product Ethernet is working by executing NET XXXX commands on the CMD window on the target device. If the net commands report that network is not present or network failed to start then product Ethernet is not configured correctly. If you are using static IP (as opposed to DHCP) you may need to obtain the static IP QFE.
 * Connect to the Target Device and Start Debugging by completing the following steps:


 * Build your application for the target device using the exported SDK for the device.
 * Choose Update Remote Output File to transfer the application to the target.
 * Start using Visual C++ debugging commands.

Keywords: kbhowto KB230759

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.