devxlogo

DPB and DCOM with Active Server Pages

DPB and DCOM with Active Server Pages

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.

See also  Why ChatGPT Is So Important Today
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist