Serial Communication

B

Brad Markisohn

I'm trying to impliment an serial port interface in Windows CE. I've
created a Smart Application Device test project in .NET and I'm using create
file to get a handle to the serial port (right now I'm emulating until I
have working hardware). The error message that I'm getting is:
MissingMethodException. I'm developing in VB.Net, but I can easily shift to
C# if that helps. Any help would be appreciated.

TIA

Brad
 
P

Paul G. Tobey [eMVP]

Are you sure you don't want to just use OpenNETCF SDF and not have to worry
about writing all that P/Invoke stuff yourself? If you feel that you must,
download the code from www.opennetcf.org and use it as a pattern...

Paul T.
 
B

Brad Markisohn

Paul,

I'm looking for the easiest way to interact with the serial port. I thought
using CreateFile, ReadFile and WriteFile was the simplest implementation.
If there's a simpler way I'll be glad to look at it. Do you have a link to
information or an example that I can look at?

Thanks

Brad
 
D

Dick Grier

Hi,

It would be far easier to download Serial from www.opennetcf.org, or
CFSerialIO from my homepage. All of the heavy lifting has been done.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
 
D

Dick Grier

Hi,

Like Paul, I have had no success with the Emulator. I prefer to debug using
actual hardware. This is simpler because the question of emulator rt
performance vs that of real hardware is eliminated.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top