External Programm detection

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

    External Programm detection

    I have a .dll that I want to call from a program and have the .dll detect
    which program called it. Is this possible to do without passing the
    application handle into the .dll with the call?


  • =?ISO-8859-1?Q?Arne_Vajh=F8j?=

    #2
    Re: External Programm detection

    Tom Andrecht wrote:
    I have a .dll that I want to call from a program and have the .dll detect
    which program called it. Is this possible to do without passing the
    application handle into the .dll with the call?
    Try:

    Environment.Get CommandLineArgs (0)

    Arne

    Comment

    Working...