first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

Songhay Design Patterns: The Importance of Threads; Threading a DTS Package; Interop; COM Events Sink; Windows Forms

The design goal is to have a Windows form call a SQL Server 2000 DTS Package. While the package is running, it needs to report back to controls on the Windows form. Moving toward this goal appears straight forward but it involved these "hidden" issues:

One important lesson (for me) in developing this design pattern was understanding the importance of threads. I was quite upset about the "freezing" issue and only had some vague idea as to why this was happening. I took a chance and spent a few hours with threading and obtained the functionality.

More details:

http://www.yoda.arachsys.com/csharp/threads/
mod date: 2004-11-04T00:42:26.000Z