Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to import .pbd files to library list?

186 views
Skip to first unread message

kubilay

unread,
Jun 6, 2001, 4:51:28 PM6/6/01
to
pbd files contain the compiled forms of your objects. So, you can not
include them in your library list. (this protects your source code :)

"Wen Fei" <wen...@vancouver.city.bc.ca> wrote in message
news:zY8Wvxs...@forums.sybase.com...
> Dear Experts,
>
> Do you know how to import some .pbd files to my own powerbuilder 7.0
> application?
> When you open 'library list' and click on 'browse' button, just *.pbl type
> files can be imported into your library list. If I want to import *.pbd
type
> files to my application library list, how can I deal with it?
>
> Thanks a lot in advance!
>
> Wen
>
>


Wen Fei

unread,
Jun 6, 2001, 4:44:31 PM6/6/01
to

Ken

unread,
Jun 6, 2001, 5:35:36 PM6/6/01
to
Well not strictly true.
Once you have compiled to PCODE(*.pbd), you can include them in your library
and even view the functions, be it that they look like 'virtual functions'.
You will be able to call functions that belong to that object.

Some programmers do this to protect their personal investment!

Hopethishelps.com
Regards
Ken

"kubilay" <k...@kub.com> wrote in message
news:kUVP31s...@forums.sybase.com...

Bug

unread,
Jun 7, 2001, 10:17:18 AM6/7/01
to
Knowning this, I'll answer Wen Fei's original question (whether he still
wants to do it or not!)........

On the "Select File" dialog where you normally choose your PBLs, simply type
in "*.pbd" without the quotes and hit Enter. Voila! You can pick and choose
as you like.

"Ken" <ken_d...@not1.freeserve.co.uk> wrote in message
news:bjhTCNt...@forums.sybase.com...

Phil Wallingford

unread,
Jun 7, 2001, 12:19:42 PM6/7/01
to
You can do this with our product, PowerGen. It lets you include PBDs or
write-protected PBLs in your library list and still build the application;
that is all the objects that are in write-able PBLs.

Regards,

Phil Wallingford
E. Crane Computing

kubilay <k...@kub.com> wrote in message
news:kUVP31s...@forums.sybase.com...

kubilay

unread,
Jun 7, 2001, 2:52:47 PM6/7/01
to
Can you use (and possibly see/modify the source code) the objects in the
pbd?


"Phil Wallingford" <ph...@ecrane.com> wrote in message
news:XJTBr$27AH...@forums.sybase.com...

Wen Fei

unread,
Jun 7, 2001, 3:42:46 PM6/7/01
to
Hi, Everybody

Thanks all of you!

Ken, by the way you suggested, I succeeded to import *.pbd into my library
list. But when I create a new application, I still couldn't select this pbd
library in 'code generation option'. When you build it, the compiler error
message displayed. Do you know why?

thanks again,

Wen


"Bug" <fent...@hotmail.com> wrote in message
news:KTdAL#17AH...@forums.sybase.com...

Bug

unread,
Jun 7, 2001, 4:00:21 PM6/7/01
to
You can see the objects and their functions and even which events have
script in them... but you can't see the actual code in anything, and you
can't change anything.

"kubilay" <k...@kub.com> wrote in message

news:x9ZNUY4...@forums.sybase.com...

Bug

unread,
Jun 7, 2001, 3:59:27 PM6/7/01
to
Do an incremental rebuild instead of a full rebuild. ;)

"Wen Fei" <wen...@vancouver.city.bc.ca> wrote in message

news:JOB26z4...@forums.sybase.com...

kubilay

unread,
Jun 7, 2001, 4:57:07 PM6/7/01
to
I didn't know that, thank you for the info...

"Bug" <fent...@hotmail.com> wrote in message

news:vBjF394...@forums.sybase.com...

Simon Caldwell

unread,
Jun 8, 2001, 6:11:25 AM6/8/01
to
Because the project painter tries to rebuild everything, including the PBDs,
and it can't rebuild these because they don't have the source code.
PowerGen from www.ecrane.com does this rather better

S.

--
Simon Caldwell
Get Real Systems Ltd
Holtby Manor, Stamford Bridge Road, York, YO19 5LL
Tel 01904 481999 Fax 01904 481666
Visit us at www.getrealsystems.com

Specialists in e-Procurement and supply chain technology


"Wen Fei" <wen...@vancouver.city.bc.ca> wrote in message

news:JOB26z4...@forums.sybase.com...

Jerry Siegel

unread,
Jun 8, 2001, 12:37:32 PM6/8/01
to
The code does not exist in a PBD, any more than Java code in a .class or C
in a .dll.

Bug wrote in message ...

Wen Fei

unread,
Jun 8, 2001, 2:54:18 PM6/8/01
to
Thanks. Both of incremental rebuild and full rebuild failed.

"Bug" <fent...@hotmail.com> wrote in message

news:uJL5Y94...@forums.sybase.com...

Bug

unread,
Jun 8, 2001, 3:38:37 PM6/8/01
to
When I do an incremental rebuild to PBDs and select the PBD in my library
list to be compiled into a separate PBD file, I get an empty Linking Error
window, but the compile still works. Any other combination of PBD/DLL and
compiling library path PBD to separate PBD/DLL or to include in EXE... all
such combinations work without a glitch. Make sure you manually regenerate
all of your objects... maybe try optimizing your PBLs... and try again. Give
PBLPeeper (http://www.techno-kitten.com) a try to see if you have two
objects with the same name. That'll give you errors. And also give PowerGen
(http://www.ecrane.com) a try. (I haven't used this, but Simon Caldwell has
suggested it to you, and I'd trust his opinion.)

"Wen Fei" <wen...@vancouver.city.bc.ca> wrote in message

news:21SVh9E...@forums.sybase.com...

Brian Dick

unread,
Jun 8, 2001, 4:57:57 PM6/8/01
to
You can explicitly tell PowerGen which libraries to regen and which to
ignore. It also regens objects in inheritance order. If you use PFC, you
need to do a couple of regens to resolve the circular references inherent to
the PFC architecture.

"Bug" <fent...@hotmail.com> wrote in message

news:IW5HbWF...@forums.sybase.com...

Wen Fei

unread,
Jun 11, 2001, 11:57:01 AM6/11/01
to
Thank you so much for all of your suggestions.

"Bug" <fent...@hotmail.com> wrote in message

news:IW5HbWF...@forums.sybase.com...

0 new messages