How to create dynamic function / objects in powerbuilder 10.x.
I create global function using pborca.exe (orca), calling thru a batch
file it is working, but it is taking little time.
Any other commands/way to create dynamic objects.
Thanks in Advance
Antony
If you already have a batch program that can create the objects, you could
use my RunAndWait object to run it from your app.
http://www.topwizprogramming.com/freecode_runandwait.html
"Antony" <anto...@hotmail.com> wrote in message
news:47735a70@forums-1-dub...
Instead of adding a function and pbl to your library list you could
compile an object and invoke it via ole.
// compile class into ls_pbl
...
// then execute it
oleobject loo_appl, loo_object
loo_appl=create oleobject
loo_appl.connecttonewobject('PowerBuilder.Application.'+string(il_version))
loo_appl.librarylist=ls_pbl
loo_object = loo_appl.CreateObject(ls_class_name)
loo_object.of_method()
As a bonus you can run code in any installed version of powerbuilder,
with any other pbl's / pbd's in the library list.