CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 1999
    Location
    CA
    Posts
    1

    Running an executable from a dll

    I'm trying to integrate a third party executable with my VB Dll. The executable is designed to be used as a CGI (It returns text). I need to be able to capture that text, parse it, and display certain portions at will. I don't have the source code for the executable so I can't modify it. Parsing and displaying are easy enough, but I haven't been able to find a way to run the executable from the DLL on command or catch the returned text.

    Any help would be greatly appreciated.


  2. #2
    Join Date
    Feb 2000
    Location
    South Carolina, US
    Posts
    36

    Re: Running an executable from a dll

    Try the Shell() command. If the output is to STDOUT throw a > filespec into the mix, the read filespec from the DLL.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured