All Forums
Microsoft Windows CE
.NET Application Development
Serial Communication in C#
Forum Locked
Send Topic to a Friend
Printer Friendly
Author
Topic
willi
13 Posts
Posted - 02 May 2002 : 18:23:43
Has anybody done that yet or any ideas besides what has been done on
http://www.gotdotnet.com/userarea/keywordsrch.aspx?keyword=SerialStream
?
static unsafe extern bool ReadFile(int hFile, byte* lpBuffer, int nNumberOfBytesToRead, int* lpNumberOfBytesRead, NativeOverlapped* lpOverlapped);
NativeOverlapped is not defined.
Willi Weichselbaumer
Coincard International
willi@coincard.com
(250) 360-0012
ctacke
877 Posts
Posted - 03 May 2002 : 09:31:22
unsafe
declarations are unsupported in the Compact Framework. For something like ReadFile you need to PInvoke the function. I'll try to put together a sample today for using ReadFile.
-----------------
Chris Tacke, eMVP
Applied Data Support
vta
14 Posts
Posted - 22 Jan 2004 : 08:13:18
We are kind of new to using the compact framework and C#. We need to use several of the serial ports on the AGX board. Did that example ever happen?
/Martin
ctacke
877 Posts
Posted - 22 Jan 2004 : 10:12:06
Take a look at
this shared source code
.
Topic
Forum Locked
Send Topic to a Friend
Printer Friendly
Jump To:
Select Forum
Documentation
White Papers
Documentation
Announcements and Public Posts
Hardware
General Hardware, ADSmartIO, Digital I/O and A/Ds
Cables and Connectors
Displays
Ethernet, IR, Serial, CAN and high speed data
Microsoft Windows CE
The Basics (CE)
CE FAQ
General CE
CE Downloads and Documents
eVC Application Development
CE Sample Applications and Utilities
eVB Application Development
.NET Application Development
CE Drivers
CE Flash, CF and PCMCIA
CE Audio and Multimedia
Embedded Linux
Linux Open Discussion
Linux FAQ
Linux Downloads and Documents
Atom Catalyst
Linux for Atom-based products
Atom Firmware
Atom FAQ
Windows Embedded Standard
Microsoft Windows CE for Atom
Catalyst Discussion
Zypad
Zypad Discussion
Microsoft Windows CE
Documents and Downloads
Other Operating Systems
VxWorks FAQ
VxWorks Discussion
OS-9 FAQ
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
Eurotech Support Forums
© Eurotech Inc.
This page was generated in 0.02 seconds.
Snitz Forums 2000