Intercepting information from another app

This is a discussion on Intercepting information from another app within the C# Programming forums, part of the General Programming Boards category; I'm writing a program which runs regsvr32.exe with a command line argument to unregister certain items. My program runs the ...

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    3

    Intercepting information from another app

    I'm writing a program which runs regsvr32.exe with a command line argument to unregister certain items. My program runs the external program and then waits for it to close. But what I want to do is intercept data from the regsvr32.exe program while its running. In particular I would like to retrieve what is in the messagebox that pops up after unregistering.

  2. #2
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    Does regsrv32.exe return anything? I don't know.

    If it doesn't, you may want to look at managed C++ to do a code injection. (it's ugly in C#)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 06-01-2009, 08:54 PM
  2. Going out of scope
    By nickname_changed in forum C++ Programming
    Replies: 9
    Last Post: 10-12-2003, 07:27 PM
  3. How do I make my Linux app standalone?
    By Joda in forum C++ Programming
    Replies: 2
    Last Post: 11-27-2002, 04:53 AM
  4. Reading text in another app
    By Unregistered in forum C++ Programming
    Replies: 3
    Last Post: 03-12-2002, 09:45 AM
  5. using information from an array
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 12-07-2001, 05:30 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21