Re: How to support a lot of serial port in WCE42?
- From: "Dean Ramsier" <ramsiernospam@xxxxxxxxxx>
- Date: Tue, 12 Sep 2006 12:15:54 -0400
I take that back. You do have to modify and recompile the driver to remove
the prefix in order use DEVFLAGS_NAKEDENTRIES. Otherwise there would be no
way for device to determine which function does what. It also looks to be
supported in 4.2...
--
Dean Ramsier - eMVP
BSQUARE Corporation
"Dean Ramsier" <ramsiernospam@xxxxxxxxxx> wrote in message
news:ug9RRjm1GHA.1252@xxxxxxxxxxxxxxxxxxxxxxx
That probably does work. I was thinking you would have to at least
recompile the driver in order to remove the prefix if you used that flag,
but I guess you could leave it as is. No reason I know of the naked
function name can't be COM_xxx. I'm not sure about its availability in
4.2 either...
--
Dean Ramsier - eMVP
BSQUARE Corporation
"Yannick Chamming's [eMVP]" <ychammings_nospam@xxxxxxxxxx> wrote in
message news:eQO1aDj1GHA.3516@xxxxxxxxxxxxxxxxxxxxxxx
There is a flag you can put in registry to remove prefix requirement in
the source code to allow this... However, Dean, you might be right,
because I'm not sure this flag is already supported in CE 4.2
--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO
Windows Embedded Manager
ychammings AT adeneo DOT adetelgroup DOT com>
http://www.adeneo-embedded.com
Tél : +33 (0)4.72.18.08.40
Fax : +33 (0)4.72.18.08.41
----------------------------------------------------------------
"Dean Ramsier" <ramsiernospam@xxxxxxxxxx> a écrit dans le message de
news: %23MDBJOa1GHA.4796@xxxxxxxxxxxxxxxxxxxxxxx
Offhand, I don't think that will work. The prefix needs to match the
stream driver entry point, so a change from COM to XYX requires a
recompile of source code.
--
Dean Ramsier - eMVP
BSQUARE Corporation
"Yannick Chamming's [eMVP]" <ychammings_nospam@xxxxxxxxxx> wrote in
message news:ui6APTW1GHA.2196@xxxxxxxxxxxxxxxxxxxxxxx
you can use the same driver (let's say serial.dll) and just change the
prefix without having to create a new driver
--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO
Windows Embedded Manager
ychammings AT adeneo DOT adetelgroup DOT com>
http://www.adeneo-embedded.com
Tél : +33 (0)4.72.18.08.40
Fax : +33 (0)4.72.18.08.41
----------------------------------------------------------------
"Daric" <Daric@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le message de
news: BD40B0AC-9DCF-4C62-9E74-8F3D5342978E@xxxxxxxxxxxxxxxx
Unfortunately, my platform is base on WCE42, it seems that WCE42 is
not
support driver index large than 9, so, should I create another driver
and use
different prefix name to support each ten com port? Is there any other
smart
way to support this in WCE42?
"David Liao (MS)" wrote:
After Windows CE 5.0 thiere is no limitation on driver's index.
If you have com port more ten, the index will go over ten. If index
is hight
than 10, you only can use (open) device by $device name.
Like
CreateFile(TEXT("$device\com12")...);
David Liao.
"Daric" <Daric@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:60D1289B-1B1D-4502-866F-F4C63BBD8AF0@xxxxxxxxxxxxxxxx
Hi, all
I own a device with 12 serial ports, I've write a driver and
success to
load
9 instances to support from COM1: to COM9; But when I try to load
instances
to support COM10/11/12, it failed. I can't find activated
information in
HKLM\\Drivers\\Active.
What's the way to support serial ports up to 10 and more? Any
suggestion
is
very appreciated!
Daric
.
- Follow-Ups:
- Re: How to support a lot of serial port in WCE42?
- From: Yannick Chamming's [eMVP]
- Re: How to support a lot of serial port in WCE42?
- References:
- Re: How to support a lot of serial port in WCE42?
- From: David Liao \(MS\)
- Re: How to support a lot of serial port in WCE42?
- From: Yannick Chamming's [eMVP]
- Re: How to support a lot of serial port in WCE42?
- From: Dean Ramsier
- Re: How to support a lot of serial port in WCE42?
- From: Yannick Chamming's [eMVP]
- Re: How to support a lot of serial port in WCE42?
- From: Dean Ramsier
- Re: How to support a lot of serial port in WCE42?
- Prev by Date: Re: Windows CE Splash and Shell
- Next by Date: Function keys in Pocket PC emulator
- Previous by thread: Re: How to support a lot of serial port in WCE42?
- Next by thread: Re: How to support a lot of serial port in WCE42?
- Index(es):
Relevant Pages
|