LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I determine the name of the calling .exe file from inside a dll

Is there a way to determine the name of the calling .exe file from inside a dll? GetModuleDir() can be used to get the directory of executable, but I have not been able to get the calling executables filename.
0 Kudos
Message 1 of 3
(2,670 Views)
Call GetModuleFileName with NULL as the first parameter.

Joe
0 Kudos
Message 2 of 3
(2,667 Views)
That was what I needed. Thanks or the help!
0 Kudos
Message 3 of 3
(2,662 Views)