External Programm detection

  • Thread starter Thread starter Tom Andrecht
  • Start date Start date
T

Tom Andrecht

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?
 
Tom said:
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.GetCommandLineArgs(0)

Arne
 
Back
Top