Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5970131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:19:49+00:00 2026-05-22T20:19:49+00:00

Assume a Visual C++ solution that outputs several executables . These executables are meant

  • 0

Assume a Visual C++ solution that outputs several executables. These executables are meant to be run in a certain order and with certain parameters — and for this purpose there already is an ant build.xml script.

What would be a decent approach to integrating this ant script with VC++, such that the ant script will point against the recently output executables (.\Debug and .\Release folders) and ideally could be run directly from VC++, and dare I say with remote debugging.

I was thinking of using build post-events that populate a build.properties file with the output location of each executable, and let the ant script use this .properties file.

Any help on the matter would be great.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T20:19:50+00:00Added an answer on May 22, 2026 at 8:19 pm

    I’m not sure if there is a good answer for this. Perhaps you are not asking the right questions. From C++ you can launch anything, including scripts. I’m not sure what you mean by VC++ integration.

    The generic answer would be:

    • save the output locations somewhere, doesn’t matter where (file, registry, environment variables etc.)
    • retrieve them in the script before use

    But depending on what you need, you could also try:

    1. Output the same executables in the same folder structure. This way you can use relative paths.
    2. Use a post-build event which copies the script in the output folder and make it use the relative path.
    3. Instead of a script you can also try handling everything from the first EXE. Instead of an ANT script it could use a configuration file which specifies execution order and parameters.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a solution in Visual Studio that is comprised of 5 projects. The
I am working with a Visual Studio 2005 C++ solution that includes multiple projects
Assume that a solution only contains classes and that those classes are all written
When structuring a visual studio solution I tend to structure it so that various
(assume php5) consider <?php $foo = 'some words'; //case 1 print these are $foo;
Assume that we have N erlang nodes, running same application. I want to share
Assume my objects are in perfect working order (i.e. TDD makes me think they
I've got a Visual Studio 2008 solution with a WCF service, and a client.
The .NET Framework has unmanaged debugging and profiling APIs that I assume people/companies are
I have a solution file that's become 'unstuck' from the projects it references, so

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.