Click here to Skip to main content
15,888,461 members
Home / Discussions / C#
   

C#

 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
BillWoodruff15-Jan-23 5:20
professionalBillWoodruff15-Jan-23 5:20 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
OriginalGriff15-Jan-23 5:07
mveOriginalGriff15-Jan-23 5:07 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
Graeme_Grant15-Jan-23 5:11
mvaGraeme_Grant15-Jan-23 5:11 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
OriginalGriff15-Jan-23 5:37
mveOriginalGriff15-Jan-23 5:37 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
Graeme_Grant15-Jan-23 5:47
mvaGraeme_Grant15-Jan-23 5:47 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
OriginalGriff15-Jan-23 5:55
mveOriginalGriff15-Jan-23 5:55 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
BillWoodruff15-Jan-23 16:52
professionalBillWoodruff15-Jan-23 16:52 
PraiseRe: "the horror:" why does C# let me get away with this ? Pin
RedDk15-Jan-23 5:31
RedDk15-Jan-23 5:31 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
OriginalGriff15-Jan-23 5:39
mveOriginalGriff15-Jan-23 5:39 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
Richard MacCutchan15-Jan-23 6:32
mveRichard MacCutchan15-Jan-23 6:32 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
OriginalGriff15-Jan-23 7:34
mveOriginalGriff15-Jan-23 7:34 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
RedDk15-Jan-23 6:49
RedDk15-Jan-23 6:49 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
BillWoodruff15-Jan-23 16:57
professionalBillWoodruff15-Jan-23 16:57 
AnswerRe: "the horror:" why does C# let me get away with this ? Pin
jschell15-Jan-23 8:05
jschell15-Jan-23 8:05 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
BillWoodruff15-Jan-23 17:13
professionalBillWoodruff15-Jan-23 17:13 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
lmoelleb17-Jan-23 23:10
lmoelleb17-Jan-23 23:10 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
jschell22-Jan-23 8:30
jschell22-Jan-23 8:30 
QuestionImageAnnotationDemo Pin
Rahmo14-Jan-23 22:50
Rahmo14-Jan-23 22:50 
AnswerRe: ImageAnnotationDemo Pin
Richard MacCutchan15-Jan-23 1:34
mveRichard MacCutchan15-Jan-23 1:34 
AnswerRe: ImageAnnotationDemo Pin
OriginalGriff15-Jan-23 1:41
mveOriginalGriff15-Jan-23 1:41 
Questionthe new Math.Generics ? Pin
BillWoodruff13-Jan-23 1:04
professionalBillWoodruff13-Jan-23 1:04 
GeneralRe: the new Math.Generics ? Pin
harold aptroot13-Jan-23 17:46
harold aptroot13-Jan-23 17:46 
AnswerRe: the new Math.Generics ? Pin
jschell15-Jan-23 8:09
jschell15-Jan-23 8:09 
QuestionVirtual USB Com port makes my C# control application freeze and crash when I single-step the microcontroller with the USB-device Pin
arnold_w13-Jan-23 1:04
arnold_w13-Jan-23 1:04 
I have a C# control application that communicates via USB (it shows up as a Com port in the Device Manager, but the electrical interface is USB, not RS232) with a development board with a microcontroller from ST Microelectronics (the driver I use is automatically installed by Windows 10 or Windows 11). Sometimes I need to debug and single-step the microcontroller and when I do, the C# application freezes for a long time and then usually eventually crashes when the Com port finally disappears and my Com connection is lost. Is there anything I can do to handle this a little more gracefully? It would be great if the Com port connection could simply get disconnected (instead of freezing the application) and the Com port disappears and then it could try to reconnect every second, in case the single-stepping has stopped and the microcontroller is running normally again. I'm programming in .NET 2.0 and I communicate using the System.IO.Ports.SerialPort class.
AnswerRe: Virtual USB Com port makes my C# control application freeze and crash when I single-step the microcontroller with the USB-device Pin
Gerry Schmitz14-Jan-23 5:37
mveGerry Schmitz14-Jan-23 5:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.