devxlogo

Create DLL from PB

Create DLL from PB

Question:
I have an application with a lot of business logic in nonvisual objects that I’d like to deploy as DLLs callable as standard windows DLLs from applications written in another language(any language capable of calling DLLs, but specifically in my case Easel). Simply generating a DLL runtime does not export public methods. Is there a technique I can use to accomplish this? What are my options?

Answer:
The only direct reuse of code across applcitations is with PB-only applications, where you can share PBDs between them. You can reuse your code indirectly by setting up your application as an OLE Server and exposing your objects as COM Objects. Then you can access the objects using any COM-compliant language.

See also  Redefining Energy Management: Advanced Solutions for Modern Buildings
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