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 46827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:01:36+00:00 2026-05-10T16:01:36+00:00

Under VS’s external tools settings there is a Use Output Window check box that

  • 0

Under VS’s external tools settings there is a ‘Use Output Window’ check box that captures the tools command line output and dumps it to a VS tab.

The question is: can I get the same processing for my program when I hit F5?

Edit: FWIW I’m in C# but if that makes a difference to your answer then it’s unlikely that your answer is what I’m looking for.

What I want would take the output stream of the program and transfer it to the output tab in VS using the same devices that output redirection (‘|’ and ‘>’) uses in the cmd prompt.

  • 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. 2026-05-10T16:01:37+00:00Added an answer on May 10, 2026 at 4:01 pm

    I’m going to make a few assumptions here. First, I presume that you are talking about printf output from an application (whether it be from a console app or from a windows GUI app). My second assumption is the C language.

    To my knowledge, you cannot direct printf output to the output window in dev studio, not directly anyway. [emphasis added by OP]

    There might be a way but I’m not aware of it. One thing that you could do though would be to direct printf function calls to your own routine which will

    1. call printf and print the string
    2. call OuputDebugString() to print the string to the output window

    You could do several things to accomplish this goal. First would be to write your own printf function and then call printf and the OuputDebugString()

    void my_printf(const char *format, ...) {     char buf[2048];      // get the arg list and format it into a string     va_start(arglist, format);     vsprintf_s(buf, 2048, format, arglist);     va_end(arglist);       vprintf_s(buf);            // prints to the standard output stream     OutputDebugString(buf);    // prints to the output window } 

    The code above is mostly untested, but it should get the concepts across.

    If you are not doing this in C/C++, then this method won’t work for you. 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Under what circumstances might you want to use multiple indirection (that is, a chain
Under what circumstance would you use field variable instead of local variable? I found
I was under the impression that adding a subview to a view goes like
I make a distributed embedded application that will make use of several micro-controllers. The
Under DDMS , there is a HEAP tab, and then I click my android
Under the path \sites\all\themes\fusion\mytheme\, I found that some php file called taxonomy_term_page.tpl.php, views-view-fields--product-brand-category--block-2.tpl.php... will
Under Windows we use DebugView to monitor trace and debug outputs of our .NET
Under this link : http://dev1.gecoloco.com/rte/done_json.php I have a json-like object, that I'm operating on.
Under remarks, it says If the type of source implements IList, that implementation is
Under what circumstances would you recommend using UTF-8? Is there an alternative to it

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.