Link to home
Start Free TrialLog in
Avatar of pillmill
pillmill

asked on

why is a second thread being created ?

My code is generating a second thread to execute an initializing display screen.

I get a "cross-threaded" error.

This is a single threaded program.

I have made no additions regarding threading. Why could this occur ?
Avatar of RedKelvin
RedKelvin

Hi, could you please provide the actual error....thanks
ASKER CERTIFIED SOLUTION
Avatar of AkisC
AkisC
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
take a look at this too
http://channel9.msdn.com/ShowPost.aspx?PostID=140373

are you using a timer?
It would help to see the section of code that throws the error, can you post it?
Using a timer other than the Forms timer will create other threads, and garbage collection runs in its own thread so if you did anything fancy in a finalize method you would run into problems.
Since the author has not responded, it is impossible to assist accurately
Can't help someone who does not respond to our posts.
Sounds goo to me. ;=)