domingo, 9 de marzo de 2014

Using LXE MX5 terminal Windows CE with visual studio 2008 under Windows 7 x64


This is a quick guide of use for Compile,debug and test Visual Studio 2008 visual basic programs into a LXE terminal with windows CE in a computer with Windows 7 x64


Visual studio 2008 uses ACTIVE SYNC 4.5 to communicate with the mobile terminal and run the testing program there. But Activesync doesn’t work in windows 7 (neither 32 or 64) and I didn’t want to install XP or have a VM with XP just for it, the solution was the next:

Under visual studio there is a way to configure the IP of the Windows CE device and under the windows CE device there is a way to run a program to “wait” for the connection from the computer under Ethernet and not under the USB port with Active sync , so here the steps.


-Install Visual Studio 2008

-Install service pack 1

-Install DRVUPDATE-AMD64.exe (doesn’t matter if is an INTEL computer)

-Install Windowos Mobile 6 pro SDK  (refresh.msi)

NOW contigure in Visual Studio 2008









Type the IP of our Terminal to work on

Now Configure the TERMINAL

At the terminal configure an IP and the next files should be copied in the WINDOWS folder of the terminal, for the Windows in spanish you will find the files in the next location:

C:\Archivos de programa\Archivos comunes\Microsoft Shared\CoreCon\1.0\Target\wce400\armv4


Now at the terminal run the Registry Editor and add the next KEY with the next value under SYSTEM

HLKM\System\CoreConOverrideSecurity = 1 DWORD


At the terminal run COMMAND and execute CONMANCLIENT2.EXE


Here the terminal stay as “waiting for something” so you can run here the program at the Visual Studio 2008 and should run at the terminal, the first time that you compile it takes a little while, the following one will run fast.

The remotefile viewer from visual studio also works with this to copy the end CAB file.



No hay comentarios:

Publicar un comentario