Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-02-2004, 11:35 AM
mvermeulen mvermeulen is online now
Registered User
 
Join Date: 07-15-2003
Posts: 56
Send a message via Yahoo to mvermeulen
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?
Reply With Quote
  #2  
Old 03-02-2004, 12:04 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 03:00 AM.


Copyright © 1999-2023 Kinook Software, Inc.