I have a client POS (point of sale) machine with C Code and a Server running with C# code.
The POS machine sends UserName and Password to Server for authenticate.
Now the problem is interesting and mysterious as well.
1- Running Program using ctrl+F5 and using breakpoints.
If i enter invalid UserName and Pwd, machine take us to login screen again and i enter valid UserName and Pwd machine allow us to login in.
2- Running Program using F5 and without breakpoints.
If i enter invalid UserName and Pwd, machine takes us to login screen again and i enter valid UserName and Pwd machine did not allow us to login in.(COMM ERROR)
Now, i use the different Release and Debug modes + clean the solutions + use sleep, but of no use.
In simple words, my code is running fine when i debug the code else not working.
Can you please help me in this issue.
The POS machine sends UserName and Password to Server for authenticate.
Now the problem is interesting and mysterious as well.
1- Running Program using ctrl+F5 and using breakpoints.
If i enter invalid UserName and Pwd, machine take us to login screen again and i enter valid UserName and Pwd machine allow us to login in.
2- Running Program using F5 and without breakpoints.
If i enter invalid UserName and Pwd, machine takes us to login screen again and i enter valid UserName and Pwd machine did not allow us to login in.(COMM ERROR)
Now, i use the different Release and Debug modes + clean the solutions + use sleep, but of no use.
In simple words, my code is running fine when i debug the code else not working.
Can you please help me in this issue.