Ask a questionAsk a question
 

General DiscussionApplication Call Hook

  • Friday, November 06, 2009 11:36 PMb0b3rt Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Is there an easy to stop or redirect an application call?
    I have one application starting another, and I don't have the source code to either.

    Thanks.

All Replies

  • Monday, November 09, 2009 12:35 PMChao KuoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hello,
    What do you mean you don't have the source code to either? Could Process.Start satisfy your need? The BCL does not provide us with any function that could hook an application. 
    If you have to use hook, you have to ivoke win32 function using DllImport.
    If I misunderstood you ,feel free to let me know.
    Thanks
    Chao

  • Thursday, November 12, 2009 8:06 AMChao KuoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    We are changing the issue type to “General Discussion” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by opening the Options list at the top of the post window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

    Thank you!
    Chao