Re: Debugging CE App using Emulator to Actual Device
r_z_aret_at_pen_fact.com
Date: 08/03/04
- Next message: r_z_aret_at_pen_fact.com: "Re: [Help] How to do a screen capture on EVC++"
- Previous message: sabc: "FindFirstStore"
- In reply to: CeNewbie: "Re: Debugging CE App using Emulator to Actual Device"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 03 Aug 2004 18:50:04 -0400
On Fri, 30 Jul 2004 19:08:35 -0400, CeNewbie <CeNewbie@fake.com>
wrote:
>Since there is no answer after I posted this question, so I want to put
>the question from a different standpoint. Hopefully someone could answer
>it for me.
>
>I already have a WinXP application that are successfully talk to the
>device via the COM2 port. Now I ported the app to the evc++ 4.0 and
>intend to use the Pocket PC 2003. However, before I got myself a real
>PPC, I want to debug it using the emulator.
>
>I configured my emulator startup server's serial 1 to COM2, that didn't
>work. That I tried setting serial 2 to COM2, and that didn't work
>either. Somehow, my WinCE app couldn't talk to the deivce.
>
>My question is, is there any changes that I need to take care of for the
>COM interface from porting between the WinXP or PPC 2003 app?
For one thing, the device names include trailing colons for CE. For
example
COM1:
vs
COM1
Also, ce does not support overlapped i/o. Otherwise, serial
communication is very much the same for CE and "big" Windows.
You will also need to deal with UNICODE, because most Windows CE
string functions take UNICODE, not ASCII, arguments. For more info,
use google (http://groups.google.com/advanced_group_search)to look up
unicode windows ce
You may have trouble getting a CE device to communicate with a
peripheral via USB. I know older CE devices did not support USB host
mode, and thus wouldn't talk to peripherals. I don't deal with USB as
a programmer, so I have no more info on this topic
I've never tried to use a real device with my app under an emulator.
So I can't help.
>
>TIA.
>
>CeNewbie wrote:
>> Hi All,
>>
>> I have a card reader device that could communicate to my XP either via
>> serial or USB. I need to write a pocket pc app (GUI) that will connect
>> to the device in order to configure its settings and obtain data from it.
>>
>> I like to first debugging the app on my XP using the emulator (under
>> evc++ 4.0), with the actual device attached to its serial port. Could it
>> be done this way? For example, if I configure the emulator's target
>> server to set the serial port 2 to my com2, would that work?
>>
>> Also, if I am going to communicate to the device via the USB using the
>> emulator, do I need to write a USB driver for my amulator app in order
>> to talk to it?
>>
>> Sorry I asked a bunch of loaded questions, but I like to know before I
>> attempt to tackle the problem.
>>
>> Thanks in advanced.
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com
- Next message: r_z_aret_at_pen_fact.com: "Re: [Help] How to do a screen capture on EVC++"
- Previous message: sabc: "FindFirstStore"
- In reply to: CeNewbie: "Re: Debugging CE App using Emulator to Actual Device"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|