Hi Paul:
From inside the COM component (exe in this case), you can obtain the exe
name using sys(16,0 Another way can be using the class's ServerName property.
El 14 jul. 2017 10:16, "Paul Newton" Paul.Newton@pegasus.co.uk escribió:
Hi all
I want to find the path of the "master" EXE at some arbitrary point in code - and I need it to work within a method of a class defined as OLEPUBLIC. PROGRAM() and SYS(16,n) do not give me just the fully qualified path/name of the master EXE. I have come up with the following but I wondered whether anybody can think of a better/simpler solution. Thanks
=lASTACKINFO(laStackInfo) Return laStackInfo(1,2)
Paul Newton
[excessive quoting removed by server]