Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

ActiveSync and Emulator.

Posted on 2004-04-22
7
20,967 Views
Last Modified: 2013-12-27
Hi all,

   I am using VS.net 2003 (C#) to write ppc application and using the emulator in VS.net 2003. how can I use ActiveSync to move files to and from the ppc emulator?

Thanks a lot!
0
Comment
Question by:ho_alan
  • 4
  • 3
7 Comments
 
LVL 48

Expert Comment

by:Mikal613
ID: 10888423
You can establish a connection to the Emulator with Microsoft® ActiveSync® 3.5. You cannot establish a connection with earlier versions of ActiveSync.

To configure the Emulator to establish a connection with ActiveSync

1. Connect two serial ports with a null modem cable.

2. On your development workstation, install ActiveSync3.5.

3. From the Target menu, choose Configure Remote Connection, and then choose the Services tab.

4. From the Download box, choose Emulator, and then choose Configure.

5. If KITL is built into your OS image, from the Serial Port 2 box choose COM1 or COM2, and then from the Serial Port 1 box choose None.
- or -

If KITL is not built into your OS image, from the Serial Port 1 box choose COM1 or COM2, and then from the Serial Port 2 box choose None.

6. Choose OK, and then choose OK again.

7. Configure ActiveSync 3.5 to connect to the serial port — either COM1 or COM2 — that you did not assign to the Emulator.

source: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcepb40/htm/_pbplatman_tcpip.asp


Is it not possible to do with RAPI?? [i remember few RAPI functions are not supported in Emulator]
0
 
LVL 5

Author Comment

by:ho_alan
ID: 10895705
thx,
but i am using ActiveSync 3.7.1
i have checked in MSDN
it said it's not necessary to make a null serial connection.
it can establish connection by emuascfg

when i type "emuascfg /ppc"
i got this error

Emulator ActiveSync Configuration Utility v1.0
==========================================================

Connecting to specified device [Platform:POCKET PC 2003, Device:POCKET PC 2003 E
MULATOR]...
ERROR: Invalid Platform name: [POCKET PC 2003]

how can i solve the problem?


0
 
LVL 48

Expert Comment

by:Mikal613
ID: 10895770
did you do this??
To open the SDK command prompt, click Start, point to All Programs, click Microsoft Pocket PC SDK, and then click Pocket PC SDK.
Run emuascfg, specifying the /PPC flag for the Pocket PC emulator, and then press ENTER.
Note   The use of emuascfg is dependent on having the .NET Framework installed. Otherwise, the "The dynamic link library mscoree.dll could not be found..." error message appears. If you need to download and install the .NET Framework, visit the .NET Framework Software Development Kit Version 1.1 download page.

When the command is finished running, close the command prompt window.
In ActiveSync, in the Connection Settings dialog box, confirm that Allow Network (Ethernet) and Remote Access Service (RAS) server connection with this desktop computer is selected.
Switch to the emulator.
Open ActiveSync in the emulator.
Click Sync
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 48

Accepted Solution

by:
Mikal613 earned 150 total points
ID: 10895778
your error is there bc you cant do that

 Microsoft Visual Studio® .NET does not support the virtual switch option.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/guide_ppc/htm/intro_to_the_ce_emulator_cbvw.asp
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 10895811
EmuASCfg.exe—This tool configures ActiveSync and the Pocket PC emulator to allow establishment of an ActiveSync partnership over the Ethernet Virtual Switch. You must use eMbedded Visual C++ to boot the Pocket PC emulator using the VirtualSwitch option before running this tool. For usage information, type "emuascfg.exe /?" at the command line

a)one option can be  to share a folder and just send it there:

   http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k3/html/winmob03.asp

0
 
LVL 5

Author Comment

by:ho_alan
ID: 10896046
that means it only supports eVC++
doesn't work with VS.net, even VS.net 2003

ok, thanks!
0
 
LVL 5

Author Comment

by:ho_alan
ID: 10898007
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to see DateTime Stamp on call logs before today? 8 59
Nokia lumia windows phone clear malware 3 163
Samsung Galaxy Phones 3 89
moto 4g phone enable finger print 4 26
When I was a beginner in Windows Mobile programming, even for small test I used to create a single MFC dialog-based application with one button, and put my test code in the OnLButtonDown method. For Pocket PC it worked fine, on some Windows CE d…
Preface: This article is part of a series focused on cross platform mobile app development (specifically Android and iOS) using the Alloy framework and Titanium Studio made by Appcelerator (https://www.appcelerator.com/). This article presumes a wor…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question