View Single Post
  #2  
Old 08-19-2004, 04:08 PM
kevina kevina is online now
Registered User
 
Join Date: 03-26-2003
Posts: 825
It is hard to say for sure, but it appears that PROJFILE is a macro in the calling Build step, but you don't have % % around it, so a new variable "ProjFile" is being created (containing an empty string) which is assigned to this macro in the secondary instance executing BuildVB6.bld.

Try changing line 6 to be:

objApp.Project.Macros.Add "PROJFILE", %ProjFile%

or

objApp.Project.Macros.Add "PROJFILE", "%ProjFile%"

if this macro can contain spaces and isn't already double-quoted
Reply With Quote