J
Jesse
I have a C# application that runs fine on any computer (XP,
2000, 98). I have just installed on a PC that also has a
POS which runs in kiosk mode. The problem is that when my
application start running the POS stop responding (or at
least stop repainting screens). My application is a console
application which starts 2 different threads. I debugged
my application and found out that on thread #1 the line of
code affecting the POS is a Thread.Sleep(x); on thread #2
the line is a Monitor.Wait(x).
If I remove those lines from code the POS works fine, but
my application will not work as intended.
I'm suspicious of the [STAThread] attribute on the Main
function.
I will appreciate any kind of help.
2000, 98). I have just installed on a PC that also has a
POS which runs in kiosk mode. The problem is that when my
application start running the POS stop responding (or at
least stop repainting screens). My application is a console
application which starts 2 different threads. I debugged
my application and found out that on thread #1 the line of
code affecting the POS is a Thread.Sleep(x); on thread #2
the line is a Monitor.Wait(x).
If I remove those lines from code the POS works fine, but
my application will not work as intended.
I'm suspicious of the [STAThread] attribute on the Main
function.
I will appreciate any kind of help.