G
Guest
Hello!
I am having a problem with a windows application that abnormally terminates
itself. The application is a multi threaded .NET 1.1 application, and can
briefly be described as follows:
Call the thread running the GUI "A". When user clicks a button a new thread
"B" is created and started. "B" does a lots of work, among others transmitts
data via a USB-CAN-interface. At the end of "B" a paper label is printed
using methods provided by the framework
(System.Drawing.Printing.PrintDocument)
If I removes the printing routines no error occures, but when the printer is
enabled the application sometimes terminates. No error codes, no unhanlded
exceptions, no messages.
Does anyone have a clue what causes this problem?
Regards, Daniel
I am having a problem with a windows application that abnormally terminates
itself. The application is a multi threaded .NET 1.1 application, and can
briefly be described as follows:
Call the thread running the GUI "A". When user clicks a button a new thread
"B" is created and started. "B" does a lots of work, among others transmitts
data via a USB-CAN-interface. At the end of "B" a paper label is printed
using methods provided by the framework
(System.Drawing.Printing.PrintDocument)
If I removes the printing routines no error occures, but when the printer is
enabled the application sometimes terminates. No error codes, no unhanlded
exceptions, no messages.
Does anyone have a clue what causes this problem?
Regards, Daniel