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.

devx-admin

Share the Post: