Question:
What threading model does DPB use? Apartment? I’d like to use PB to create MTS components for an Active Server Pages project. Do you foresee any problems? Any advice? Any online references you can recommend?
Answer:
PB5.0.3 is single threaded. I believe PB5.0.4 is apartment and PB6 is also apartment. There is a patch to PB5.0.4 which fixes a memory leak in the COM interface.
Using PB in this way works very well and is a great way to leverage PB business objects and the datawindow to build Web applications. I have built an application the same way and can recommend it as a good way forward.