Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: PowerBuilder
Expertise: Beginner
Aug 24, 1998

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 Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date