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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top