How to convert PBD file to DLL

How to convert PBD file to DLL

Post by Alber » Tue, 26 Aug 2003 16:52:21


I was never working in Power Builder and maybe my question is strange but I
would like to access function and procedure included in PBD file. It is
possible to convert PBD to DLL and make the functions or procedures
accesible for other application created for example in Delphi.
Thanks in advance for all sggestions.

Best regards
Robert Paterka
XXXX@XXXXX.COM
 
 
 

How to convert PBD file to DLL

Post by Alber » Tue, 26 Aug 2003 17:57:38

I am not sure if I have you good understood. What do you mean, that DLL
created in PowerBuilder is not common DLL and can't be used in other
programming environment . You wrote that functions included in DLL can't be
accessible via code than how??
My problem is that I would like to execute some function which are included
in PBD, but this is external application which was written in PowerBuilder
and I don,t have any source. Anyway I was never working in PowerBuilder. Pls
inform me if there is any posibilities to execute function included in PBD
without having source of this PBD.
I would like only to get simple DLL :)

Best regards
Robert Paterka

Anyway thank you very much for your help.

 
 
 

How to convert PBD file to DLL

Post by Alber » Tue, 26 Aug 2003 18:36:02

Thank you, now everything is clear.

Robert Paterka
 
 
 

How to convert PBD file to DLL

Post by Anthon » Tue, 26 Aug 2003 19:22:27

Regarding the first part, you can't call function that locate in
PowerBuilder DLL from other applications, written in Delphi for example.
2nd -> I'm afraid u need the source itself, otherwise you can't do it.
if you have the source, locate the function in NVO (non visual object) and
deploy it as COM, MTS or EA Server.
Good luck,
 
 
 

How to convert PBD file to DLL

Post by PowerObjec » Sat, 30 Aug 2003 00:49:57

Albert,

Well! There IS a way if you "know" what functions/objects (API) reside
in those PBDs. Attach the PBDs as Libraries for the application/target
just as you would attach the PBLs. You can then view the objects in
the PBDs in the Library painter/dialogs and use/instantiate the
objects inside those PBDs on your own windows/objects. You can
see/open the objects inside the PBDs but you will not see any code in
them or their ancestors when you drop them on your windows as UOs
because PBDs are short of the source-code. Further, you can do full
builds of your app with those PBDs including compiling them into
DLLs!!

---
PowerObject!
-----------------------------------------
http://www.yqcomputer.com/
PowerBuilder / PFC Developers' Group