Friday, June 20, 2008

 

Device Connection via Ethernet in VS2005

1. In VS2005 from menu bar choose 'Tools'->'Options...'
2. then in 'Options' dialog select 'Device Tools'->'Devices'
3. from 'Show devices for platform' select your device and press ' Properties...' button
4. and then press 'Configure...' button in the new dialog.

In 'Configure TCP/IP Transport'dialog
1. keep 'Use fixed port number' unchecked
2. Select ' Use specific IP address' and enter your device real IP address

Copy the following files to the \Windows\ folder on the device. These files are located on the development computer by default at \Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\.

Clientshutdown.exe
ConmanClient2.exe
CMaccept.exe
eDbgTL.dll
TcpConnectionA.dll

From the command prompt on the device, run conmanclient2.exe.

Double click to run CMaccept.exe

In Visual Studio, do 'Connect to device' from tools menu.

Select your device. Now connection should succeed.

This page is powered by Blogger. Isn't yours?