Serial port in Windows CE
.NET (Core and Framework)
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I'm trying to write a serial port communication in Windows CE.NET , but when i call the 'CreateFile' method of the Kernel32 i get an unidentified exception. The problematic function is : "m_hFile = CreateFile(port, (uint)((m_bRead?GENERIC_READ:0)|(m_bWrite?GENERIC_WRITE:0)), 0, 0, OPEN_EXISTING, FILE_FLAG_OVERLAPPED, 0)" And i send "COM1:" as the name of the port. Does anybody know how to develope a .NET base class library for serial port communication in Windows CE? Thanks, Shay.