Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Serial port and strange error message

Status
Not open for further replies.

nxp

Programmer
Jan 18, 2008
1
0
0
CA
I'm trying to open a serial port on a PDA windows WIndows Mobile 5. All is working, i get the text from the GPS. But i got also a lot of message from windows. Like these (sorry it's in french):
Le thread 0xca3b2fc2 s'est arrêté avec le code 0 (0x0).
Le thread 0x4a237176 s'est arrêté avec le code 0 (0x0).
Le thread 0xca3b2fc2 s'est arrêté avec le code 0 (0x0).
Le thread 0x4a237176 s'est arrêté avec le code 0 (0x0).
Le thread 0xca3b2fc2 s'est arrêté avec le code 0 (0x0).
Le thread 0x4a237176 s'est arrêté avec le code 0 (0x0).
Le thread 0xca3b2fc2 s'est arrêté avec le code 0 (0x0).

IT mean the thread stopped with the code 0 (0x0).

Is it normal? I dont get this error before the "open". Here the code in his simplest form:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace DeviceApplication7
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();

System.IO.Ports.SerialPort pSerialPort = new System.IO.Ports.SerialPort();
pSerialPort.PortName = "COM5";
pSerialPort.BaudRate = 9600;
pSerialPort.Open();
}
}
}

Thanx
 
Are you using asynchronous operations on the serial port? Such as BeginSend, etc.?

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Are you using the Microsoft GPS Unit that comes with Streets and Trips? I wrote a set of class libraries using this device and I noticed that a lot too. I never concerned myself with it since my library was functioning correctly.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top