![]() |
OpenMake Meister |
Microsoft Visual Basic uses a .vbp Project file to manage and build the Visual Basic Programs. This .vbp file is used as a template for the build process to create a temporary .vbp file called omXXXXXX.vbp, where XXXXXX is a six character alphanumeric string. The omXXXXXX.vbp is nearly identical to the original .vbp except the references to file locations are updated to reflect where the build has found the files in the Dependency Directories. For example, during the Build, the .vbp file will be scanned looking for references to .ocx controls. When the build finds a reference to an .ocx control it then searches the generated build script to see if it can build that control. If so, the build will then process that file in the same manner. The build will recursively check all of the dependencies and build the programs in the correct order.
The build uses the compile flags from the Microsoft Visual Basic Project .vbp file, except when it finds that the Target program already exists. In this case it will try to build the program in Binary Compatible Mode.
To define a Target using the Build Service of Visual Basic Executable or Visual Basic Dynamic Link Library follow the steps in Table PB-37:
Table PB-37 Defining Visual Basic Targets
Step |
Action |
1 |
Select the Microsoft Visual Basic 6.x Build Service |
2 |
Use the relative path to .vbp file as the Build Task File Dependency. The build concatenates these relative paths with the Dependency Directories in order to find the correct file. |