Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Calling other Visual Build Pro Projects (https://www.kinook.com/Forum/showthread.php?t=344)

mvermeulen 03-02-2004 10:35 AM

Calling other Visual Build Pro Projects
 
I would like to build a number of library projects that I can reuse in other master projects. I see how you can pass parameters to the sub projects but can you also return inforation to the parent?

Once example is to read a configuration file (INI) and store the values for use within the master. Do these have to be set as global or system macros for them to be available to the master?

kinook 03-02-2004 11:04 AM

A few options:

1) Store the "out" values in global macros. Whenever a step completes, if global macros have been modified, they are written to the global macros file, and when a step starts, if the global macros file is newer than the ones that are loaded (i.e., were modified in another instance of VBP), they are re-loaded from disk.

2) Store the values in an INI file using the Write INI action, and read them using the READ_INI system macro. You could also write/read an XML document, a plain file, etc.

3) Instead of using separate project files for the master/library steps, use subroutines in a single project file. Store "out" values in temporary macros in the subroutines.


All times are GMT -5. The time now is 11:13 PM.


Copyright © 1999-2023 Kinook Software, Inc.