Skip to main content

Using Netexpress 5.1 with a Dialog System proyect I use a List View Box. When I compile my main program with

78  dialog-system                   VALUE "DS".     *> = debug

everythink works as expected. The Event  "USER-EVENT" works properly and detects perfectly the conditions SELECTED, ACCEPTES. Of course I must always clic on the Debugg Box "CONTINUE"

If I make the only Change in the main program

78  dialog-system                   VALUE "dsgrun". *>NO debug

and everything else exactly the same, the USER-EVENT is no longer detected and all the involved instructions are not executed.

Any idea what else must be changed?

Thanks for any help.

Using Netexpress 5.1 with a Dialog System proyect I use a List View Box. When I compile my main program with

78  dialog-system                   VALUE "DS".     *> = debug

everythink works as expected. The Event  "USER-EVENT" works properly and detects perfectly the conditions SELECTED, ACCEPTES. Of course I must always clic on the Debugg Box "CONTINUE"

If I make the only Change in the main program

78  dialog-system                   VALUE "dsgrun". *>NO debug

and everything else exactly the same, the USER-EVENT is no longer detected and all the involved instructions are not executed.

Any idea what else must be changed?

Thanks for any help.

Nothing comes to mind immediately.

Have you tried putting a breakpoint in the COBOL code for the ListView control program to see if it is triggering the User event?

Using Netexpress 5.1 with a Dialog System proyect I use a List View Box. When I compile my main program with

78  dialog-system                   VALUE "DS".     *> = debug

everythink works as expected. The Event  "USER-EVENT" works properly and detects perfectly the conditions SELECTED, ACCEPTES. Of course I must always clic on the Debugg Box "CONTINUE"

If I make the only Change in the main program

78  dialog-system                   VALUE "dsgrun". *>NO debug

and everything else exactly the same, the USER-EVENT is no longer detected and all the involved instructions are not executed.

Any idea what else must be changed?

Thanks for any help.

Yes, I did, but did not find anything.
But after comparing very carefully the Dialog System Global Dialog in some demo programs with mine, I found the reason and my mistake. I did not put the following statements:

* Enable Class Library
MOVE 15 CONFIG-FLAG
MOVE 1 CONFIG-VALUE
CALLOUT-PARAMETER 1 CONFIG-FLAG $NULL
CALLOUT-PARAMETER 2 CONFIG-VALUE $NULL
CALLOUT "dsrtcfg" 3 $PARMLIST
*
My mistake is quite obviuos, but I wonder very much, why the program works without these statements in debug mode and only in production mode fails..