Embed point in exe before Data DLL loads

Hi All,

I have a multi dll c10 application with multiple exe’s. In other words multiple caller apps for a single set of Data and sub dlls. Is there an embed I can use in the main exe that fires before any code is loaded from the data dll. I’m trying to determine who the caller is in my data dll before selecting the database I’ll be using.
I have other work arounds but this would be great if at all possible.

Any insight much appreciated.


1 Like

You could use COMMAND(‘0’) in the DLL to get the full path+name of the EXE.

1 Like

That’s perfect. Can’t believe I missed that.

Much Appreciated.

1 Like