Skip to Content
avatar image
Former Member

CloseWithReturn(window)

Hi!

I don´t know why the parameter value change in memory!!?? Look at the pic:

what's occurs???

Regards!

Victor

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 29, 2014 at 07:52 PM

    Hi Victor;

      Just to make sure that all the object classes are built correctly ... can you try optimizing your PBL's and then doing a Full Build and see if that helps the situation?

    Also, can you tell us more about your PB version, build and O/S being used?

    Regards ... Chris

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Victor;

        Yes, that seems to point to improper P-Code being generated or stored in your PBL.

        PowerBuilder uses the old DOS technique to replace objects and executable P-Code in its PBL's. That is to say it just marks the old class as logically deleted and then creates a new area. However, it is possible for PB to pick the old logically deleted P-Code instead of the new version.

        The process of Optimizing your PBL's and then doing a full build should clean out these "ghost" versions of all the classes. I actually have ORCAScript command files that do this on my libraries on a regular basis automatically. For my STD Foundation Class frameworks - I perform this procedure every time I release a new version and before I start the next development cycle.

      HTH

      Regards ... Chris

  • Dec 29, 2014 at 06:40 PM

    Do you have code in the Close or CloseQuery events?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 29, 2014 at 10:04 PM

    Is a variable with name stl_datos declared anywhere else than locally? Instance?

    Add comment
    10|10000 characters needed characters exceeded