devxlogo

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.

Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.

See also  Five Early Architecture Decisions That Quietly Get Expensive

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.