osql

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kishjeff

    osql

    is there some way to activate osql from a c++ app and stream the
    output to my program?

  • Tom van Stiphout

    #2
    Re: osql

    On Wed, 12 Mar 2008 06:38:26 -0700 (PDT), kishjeff
    <kishjjrjj@char ter.netwrote:

    What are you really trying to do? Describe what this SQL code does,
    and we might be able to suggest alternatives.

    To capture the output of most command-line applications, you can
    redirect the output to a file using the sign:
    osql.exe [some_commandlin e_arguments] c:\test.txt
    Use that as a LAST resort, not a first.

    -Tom.

    >is there some way to activate osql from a c++ app and stream the
    >output to my program?

    Comment

    Working...