How can I know has my application been started by clicking onto its .exe
file or onto shortcut .lnk file (pointing onto that .exe)? I'm using eVc 4
and some code would be appreciated

Re: shortcut or exe? by Matt

Matt
Mon Apr 03 14:37:18 CDT 2006

initially, I would guess that there is no way to determine this. My
only question is why would you want to know if your application was
launched from a shortcut or by clicking on the application.

There is one thing that you can try, but I do not guarentee that this
will work. Maybe when you create your shortcut, you put a command line
arguement and when the program is launched, if it does not contain that
arguement, then you will know that this did not come from the shortcut.

Matt