Apartment vs Free? I was finally coming across that in the search. I suspect what I need to enforce is a single-thread apartment. Unfortunately, the examples I'm seeing are all ATL or VB. (God, I hate C.. too bad's it's as fast as I'm going to get) ---------- Keith J. Farmer kfarmer@thuban.org http://www.thuban.org -----Original Message----- From: Brian Lloyd [mailto:brian@zope.com] Sent: Tuesday, January 29, 2002 13:03
Would that make a difference between dying when imported at the beginning of a script, and not dying when imported within a run() method? Knowing C, I'd expect randomness, but this behavior is consistent.
Sure it could. If the dll you are calling maintains per-thread data structures or uses API calls that are sensitive to threading, you may well need to load and