Please look at my DPBServer http://www.powerobjects.com/distributedhome.html
--
Dean Jones, CPD Professional
PowerTeam, Inc.
www.powerobjects.com
de...@powerobjects.com
Yehezkel Dallal wrote in message <#NyhBNP3...@forums.powersoft.com>...
>Has anyone seen this?
>
>PB 6.5 GPFs during SharedObjectRegister of a class that was not compiled
>with the app but added at run-time using SetLibraryList. This used to work
>properly in 6.0. Attached is a sample app that demonstrates the problem.
Any
>ideas?
>
>Yehezkel Dallal
>
>
>
What you are doing will not work. You example will run just fine in my
server.
Please visit my web site and read my tips. You need to understand DPB has
three sessions. You server is in the main session. You cannot change the
library list in the main session and expect the shared object session to
know about the new library list.
Most people who purchase the source code for my server, know a lot about
distributed PowerBuilder and do not want to code it themselves. You could
use it for a learning tool.
Here how to make your example work.
* When you modify the library list in the single line edit, write the list
to a text file.
* Export the application object to source code.
* Find the create event in the application logic source code
* Open the text file, read the library list and set the library list.
On my web page I have a layout of DPBServer architecture. This shows the
library list is maintained in a common shared object instead of a file. Don
’t reinvent the wheel. If you haven’t seen my server please give it a try
and let me know what you think.
http://www.powerobjects.com/distributedhome.html.
If you posted this question on the news group can you post this as a
response. Several people have asked me how this works.
Dean Jones CPD Professional
PowerTeam, Inc.
www.powerobjects.com
de...@powerobjects.com