Make certain that the datawindow objects exist in your compiled PBDs or
DLLs. If they are not part of the library list, you'll need to include
references to them in the application's resource (PBR) file, so that they'll
be included with the executable.
Anthony M. Perugini
CPDP, CPI, CSPdba, MCPS
Pinnacle Decision Systems Inc. www.pinndec.com
Rovedo Pablo wrote in message <3496D99B.93488C07@techint.techint.com.ar>...
>I am developing a system in which I need to link a Datawindow control
>differents Datawindow objects in runtime.Therefore, I set the Datawindow
>control property DATAOBJECT with the value of the datawindow object I
>(dw_1.dataobject = "dw_object1"), and then I change it with other values
>during execution, doing dw_1.dataobject = "dw_object2" in the script
>(of course then I do dw_1.settransobject(transaction_object)...).
>When I run the system into PowerBuilder's environment (with the Run
>THE SYSTEM WORKS. I made the executable without problem (no errors), BUT
>(and this is my problem) when I run it, an error occurs: the error is:
>"Application terminated.Null object reference at line..."
>I don't know why the application object runs OK with the Run Painter
>(the changes of datawindows objects during execution work),
>but in the executable don't (I have the dll's runtime, and there is no
>I'm looking forward for your help. (Maybe I can't set different
>dataobjects to a datawindow control simply changing the string of
>it dataobject property, but I don't know what more I have to do, and,
>if I have to do something more, Why does the application object work
>run it from the Run Painter?).
>In the Company we have PowerBuilder Enterprise 5.0.
>I've worked with PowerBuilder for two years.
>Thank you very much.
>My address is email@example.com
begin 666 Anthony M Perugini.vcf
D5#IA<&5R=6=I;FE <&EN;F1E8RYC;VT-"D5.1#I60T%21 T*