From: Richard Russell on 16 Jul 2010 04:11 Is there any way for an application to tell whether or not it was run from a shortcut? Richard. http://www.rtrussell.co.uk/
From: araav on 18 Jul 2010 11:31 On Jul 16, 1:11 pm, Richard Russell <n...(a)rtrussell.co.uk> wrote: > Is there any way for an application to tell whether or not it was run > from a shortcut? > > Richard.http://www.rtrussell.co.uk/ I'd play with the getcommandline()
From: G�nter Prossliner on 19 Jul 2010 05:40 Hello Richard! > Is there any way for an application to tell whether or not it was run > from a shortcut? From any shortcut or from a specific one (e.g. in Startmenu or Desktop created by your installer)? If it's a specific one you may add a Command-Line Flag to the Target. GP
From: Richard Russell on 19 Jul 2010 06:22 On Jul 16, 9:11 am, Richard Russell <n...(a)rtrussell.co.uk> wrote: > Is there any way for an application to tell whether or not it was run > from a shortcut? I got the answer by private email: The STARTF_TITLEISLINKNAME flag is set by GetStartupInfo() when the application was started from a .lnk: http://msdn.microsoft.com/en-us/library/ms683230.aspx Richard. http://www.rtrussell.co.uk/
|
Pages: 1 Prev: Expand.exe failure on WS08-R2 Next: CreateRemoteThread returning Access Denied |