Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. Detect Application Launch

Detect Application Launch

Scheduled Pinned Locked Moved Article Writing
tutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ray Brack
    wrote on last edited by
    #1

    I have a requirement to detect when an application is launched and to determine if the application was launched by an existing application. For example, when you create a new mail message in Outlook, Outlook actually launches a new application to allow you to edit & send the message. I can detect that a new application has been launched but there doesn't appear to be any way of determing that the application was launched by Outlook. Any suggestions? :confused:

    L 1 Reply Last reply
    0
    • R Ray Brack

      I have a requirement to detect when an application is launched and to determine if the application was launched by an existing application. For example, when you create a new mail message in Outlook, Outlook actually launches a new application to allow you to edit & send the message. I can detect that a new application has been launched but there doesn't appear to be any way of determing that the application was launched by Outlook. Any suggestions? :confused:

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Only undocumented solutions. MS don't provide us with documented solutions to this kind of "advanced" programming. My "best guess" is that you'd have to hook CreateProcess. Check out e.g. winternals for possible solutions (you won't like the effort needed).

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups