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 07-26-2007, 11:58 AM
ambalboa ambalboa is online now
Registered User
 
Join Date: 06-25-2007
Location: Houston, TX
Posts: 70
SAMPLE_ROOT macro appearing, I don't know why?

I have a 'Set Macro' step which would get the version number of a .exe file, updating the VER_NUM global macro. On one project file, I can run the step without it prompting me to define the SAMPLE_ROOT temporary macro; on the other, it prompts me for a value for that macro. Why and where did this macro come from? It's not the script, because I click on cancel multiple times to get rid of the SAMPLE_ROOT macro window, it builds successfully, and I check the version value in VER_NUM and it's the one I wanted. Can someone explain what is happening? Thank you.
Reply With Quote
  #2  
Old 07-26-2007, 01:04 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Some of the VBP samples use a LOGFILE macro value of %SAMPLE_ROOT%\%PROJROOT%.log, which requires SAMPLE_ROOT to also be defined. Apparently your project does something similar but doesn't define SAMPLE_ROOT.
Reply With Quote
  #3  
Old 07-26-2007, 01:25 PM
ambalboa ambalboa is online now
Registered User
 
Join Date: 06-25-2007
Location: Houston, TX
Posts: 70
That's what it was. The LOGFILE macro had %SAMPLE_ROOT%\%PROJROOT%.log and I just changed it to %PROJDIR%\%PROJROOT%.log. I can now run the 'Set Macro' without the interference. Also, any other step I would do caused this problem. I found that out after my initial post. Everything is fine now. Thank you.
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:44 PM.


Copyright © 1999-2023 Kinook Software, Inc.