How can I find out from within my dll, the name of the
Program that called it? (the window caption, not the .exe name)
Say I have two programs that call my dll. What I want to
happen is that when I click a button on Program 1, the
dll pops up a MsgBox saying "Program 1", and when I click
a button in Program 2, the dll should call a MsgBox
saying "Program 2"
Any suggestions?
Thanks.
Program that called it? (the window caption, not the .exe name)
Say I have two programs that call my dll. What I want to
happen is that when I click a button on Program 1, the
dll pops up a MsgBox saying "Program 1", and when I click
a button in Program 2, the dll should call a MsgBox
saying "Program 2"
Any suggestions?
Thanks.