Re: How to write program for Serial and USB which connect to hardware?

From: Slobodan Brcin \(eMVP\) (sbrcin_at_ptt.yu)
Date: 10/13/04


Date: Wed, 13 Oct 2004 22:52:17 +0200

Tom,

Is this in any relation to Windows XP Embedded?
Anyhow for accessing USB devices look at the samples in DDK.

For accessing any COM port use CreateFile for obtaining handle to port.
And since opening initializing and read write to port is very easy trough standard Win32 functions you will non need any open source
code.

Also use http://groups.google.com/ for searching on these topics, I guess that many people discussed this already.

Regards,
Slobodan

"KM" <konstmor@nospam_yahoo.com> wrote in message news:%23uXvBDVsEHA.820@TK2MSFTNGP12.phx.gbl...
> Tom,
>
> Any particular reason why you are asking these questions in Windows XP Embedded newsgroup?
> You may get more luck posting to
> microsoft.public.development.device.drivers
> microsoft.public.windowsxp.device_driver.dev
> microsoft.public.win32.programmer.kernel
>
> --
> Regards,
> KM, BSquare Corp.
>
>
> > I am new to hardware programming.
> >
> > I need to write a program for reading data from Card Reader which connects
> > to the PC windows 2000/XP OS through Interfacing The Serial / RS-232 Port /
> > USB / Bluetooth / Infrared.
> >
> > May I ask does serial port equal to com port?
> >
> > The program needs to read and write data of the smart card which places on
> > top of the card reader. The card reader has serveral models, they support
> > Serial / RS-232 Port / USB / Bluetooth / Infrared.
> >
> > After reading the data, the data will be passed to server's database through
> > internal network.
> >
> > On the other hand, the program can write data to the card through card
> > reader.
> >
> > Now, I want to know
> >
> > Which programming language, SDK and IDE should I use? The program is only
> > running on windows OS.
> >
> > Languages: C++ / VC++ / VC.net / C# / J2SE
> >
> > IDE: VC++ 6.0 / Borland C++ Builder / VS.net
> >
> > I downloaded a Serial SDK from http://home.arcor.de/groschh/SerToolInfo.htm,
> > but how can I use it?
> >
> > Any online tutorial, code sample or open source project are available?
> >
> > Please advise.
>
>



Relevant Pages

  • FS: Card Readers
    ... It also has a USB port on the front ... only the card reader part is usable with Unipod. ... The second item is a Microtech parallel port SmartMedia card reader. ...
    (comp.sys.acorn.hardware)
  • IDE Card Reader
    ... inch floppy slot and uses an IDE port instead of USB) on my FreeBSD 5.1 ... If I have the card reader installed ... on ppbus0 ...
    (freebsd-current)
  • IDE Card Reader
    ... inch floppy slot and uses an IDE port instead of USB) on my FreeBSD 5.1 ... If I have the card reader installed ... on ppbus0 ...
    (freebsd-questions)
  • Re: USB ports not working for some devices
    ... Windows Technologies - Printing & Imaging ... "Forbes Hunt" wrote in message ... such as my ipod, scanner & a card reader which used to work fine, no longer ... work on any port and a new camera does not connect at all. ...
    (microsoft.public.windowsxp.hardware)
  • How to restore Windows dialog when card reader is attached to USB port?
    ... When I attach a compact flash card reader to one of my USB 2.0 ports, ... to get a Windows dialog asking me which application I wanted to use. ... After inserting the compact flash card reader into the USB port, ...
    (microsoft.public.windowsxp.hardware)