philippoommen1
Member
Hi,
I am trying to build a utility to compile programs in different environments. When the user selects an environment and Press compile button run the below code
CONNECT database -H dbserver -S 29000.
Compile c:\temp\program.p save into e:\cmp\ .
DISCONNECT database.
My doubt is How can I invoke the respective INI file just before the comilation (NOT Propath alone) and after the compile back to the old INI which was already there. Is it possible? Both INI file (old and new) paths I can input to this utility program. Progress Versions are the same in all environments. Are there any factors other than PROPATH that will influence the compilation? If not then I need only the refresh PROPATH is required.
Thanks
-Philip-
I am trying to build a utility to compile programs in different environments. When the user selects an environment and Press compile button run the below code
CONNECT database -H dbserver -S 29000.
Compile c:\temp\program.p save into e:\cmp\ .
DISCONNECT database.
My doubt is How can I invoke the respective INI file just before the comilation (NOT Propath alone) and after the compile back to the old INI which was already there. Is it possible? Both INI file (old and new) paths I can input to this utility program. Progress Versions are the same in all environments. Are there any factors other than PROPATH that will influence the compilation? If not then I need only the refresh PROPATH is required.
Thanks
-Philip-
Last edited: