List Info

Thread: C-Sharp (C#) Group: .Net runtime 2.




C-Sharp (C#) Group: .Net runtime 2.
country flaguser name
Denmark
2007-02-07 14:44:22
Hi,
I have made some software that uses one of the COM ports to
communicate with an external device. The software is written
in C# and
uses the new SerialPort class in .Net 2.0.
It works perfectly when I use the COM ports that are
integrated in my
PC. It also works if I use a COM->RS232 converter as long
as I don't
unplug the converter when the software is running. If I
unplug the
converter I get a .Net runtime 2.0 error:
http://therkelsen.info/images/blandet/atrack_prob.JPG

This error makes the .Net runtime environment shut down my
software
and it seems like there is nothing I can do about it. I can
not catch
the "objectDisposedException" because it is thrown
inside the .Net
environment and makes the environment crash.
Any ideas about what I can do to stop the framework from
crashing?
Is this a known bug in the .Net framework?

Best regards,
Kim Therkelsen


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharpgooglegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups-beta.google.com/group/C_Sharp?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )