ho_alan
asked on
ActiveSync and Emulator.
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!
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!
ASKER
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?
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?
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
ASKER
that means it only supports eVC++
doesn't work with VS.net, even VS.net 2003
ok, thanks!
doesn't work with VS.net, even VS.net 2003
ok, thanks!
ASKER
http://www.microsoft.com/downloads/details.aspx?FamilyId=74473FD6-1DCC-47AA-AB28-6A2B006EDFE9&displaylang=en
i just found this
hope it helps everyone :-)
i just found this
hope it helps everyone :-)
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]