Compiling OE10 code referencing adecomm/prodict/protools inc

Posted by MBeynon on 09-May-2019 10:31

Hi,

we have an internal Database Viewer app written in OE10x that we would like to build under OE11. The app makes use of internal OE10x screens such as the DB connection window and Protools (see code snippet below).

{adecomm/commeng.i}  /* Help contexts */

{adecomm/adestds.i}

IF NOT initialized_adestds THEN

    RUN adecomm/_adeload.p.

 

   RUN adecomm/_adehelp.p (INPUT "comm", INPUT "CONTEXT",

                           INPUT {&Connect_Database},

                           INPUT ?).

 

        { prodict/dictgate.i

            &action = "query"

            &output = "capab"

            &dbrec  = "?"

            &dbtype = "p_type"

        }

 

    assign ext_Type = {adecomm/ds_type.i

                        &direction = "itoe"

                        &from-type = "p_Type"

                      } .

_propath.w

{ protools/ptlshlp.i } /* help definitions */

{ adecomm/_adetool.i }

_db_gw.p

FOR EACH tinydict._db WHERE tinydict._db._db-name <> ?          AND

                            tinydict._db._db-type <> "PROGRESS" AND

                            tinydict._db._db-local = no         AND

                            tinydict._db._db-slave = yes:

 

_dbincr.p

{prodict/dictvar.i NEW}

{prodict/user/uservar.i NEW}

{prodict/user/userhue.i NEW}

 

I'm assuming these have been moved/renamed in OE11x?

Does anyone know what they are now called. I've looked at using extractpl.bat in the OE116 src dir but we only have adeedit.pl

We'd like to reference the relevant OE11x components at compile time by testing the OE VERSION preproccesor?

Many Thanks,

Mark.

Posted by frank.meulblok on 09-May-2019 12:06

Keep in mind that the source code for the development tools isn't shipped with the install media (and hasn't been since 10.0A). You'll have to download it.

See also knowledgebase.progress.com/.../P9621 .

All Replies

Posted by Matt Gilarde on 09-May-2019 11:42

None of those files have been moved or renamed.

What products do you have installed?

What do you see in the tty and gui directories in your install directory?

Posted by MBeynon on 09-May-2019 11:52

Hi,

It seems they are in the tty and gui folders. I was looking in the src directory?

Posted by Matt Gilarde on 09-May-2019 11:58

If your install includes the PL files it seems that this would be a PROPATH issue. Is the gui directory on your PROPATH? Or tty if you're using character mode?

Posted by Brian K. Maher on 09-May-2019 12:02

Try using the extractpl.bat file in $DLC/src to extract the .pl files.  I think that will solve the problem.
 
 
Brian Maher
Principal Engineer, Technical Support
Progress
Progress
14 Oak Park | Bedford, MA 01730 | USA
phone
+1 781 280 3075
 
 
Twitter
Facebook
LinkedIn
Google+
 
 

Posted by frank.meulblok on 09-May-2019 12:06

Keep in mind that the source code for the development tools isn't shipped with the install media (and hasn't been since 10.0A). You'll have to download it.

See also knowledgebase.progress.com/.../P9621 .

Posted by Patrick Tingen on 09-May-2019 12:13

If by "Database Viewer" you mean a program to show database contents, you might want to take a look at the DataDigger at https://datadigger.wordpress.com/

It is open source and free as in free beer. 

Posted by MBeynon on 09-May-2019 13:01

Thanks for all the good idvice one and all. Downloading the correct zip file install media worked.

This thread is closed