L
Leif Eirik Olsen
Hi,
I have an CF app that uses a serial (Bluetooth) port. Most of this works ok,
but one problem occures when (if) I for some reason should write to the
wrong port ex. Com6 instead of Com8. Then the app locks up in the write
procedure.
Is this a god idea? :
Create the read/write of comport in an own thread, and in case of read/write
lock up, kill the process. Possible?
If this seems like a good idea, is there any considerations to take in
regards to memory cleanup when killing a process?
I'm using C# and .net 1.1.
Thanks for reading.
Regards,
Leo
I have an CF app that uses a serial (Bluetooth) port. Most of this works ok,
but one problem occures when (if) I for some reason should write to the
wrong port ex. Com6 instead of Com8. Then the app locks up in the write
procedure.
Is this a god idea? :
Create the read/write of comport in an own thread, and in case of read/write
lock up, kill the process. Possible?
If this seems like a good idea, is there any considerations to take in
regards to memory cleanup when killing a process?
I'm using C# and .net 1.1.
Thanks for reading.
Regards,
Leo