Re: How to launch a exe file in SD card?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




It doesn't make any difference, as far as you have
a graphics shell. Personally I prefer CreateProcess
for the executables or ShellExecute for the
documents or other files.


On Wed, 30 Aug 2006 15:15:10 +0200, Frank Steinmetzger <see.website@xxxxxxxxxxx> wrote:

30.08.2006 09:56, voidcoder schrob:

Use FindFirstFile()/FindNextFile() to locate the file,
or just GetFileAttributes() to check the executable
presence if the path is constant.

Next use CreteProcess() to launch it.

I used ShellExecuteEx for this. Is there a reason why I shouldn't in favour
of CreateProcess?

.



Relevant Pages

  • Re: createprocess or shellexecute?
    ... >>would like to start and terminate an application with an other app. ... >>Using createprocess or shellexecute for the app creation? ... I would always use CreateProcess as it gives you more control. ... Here's a code fragment where I run another (third party) app in windowless ...
    (microsoft.public.vc.mfc)
  • Re: Printing PDFs
    ... Verb is a shell concept; CreateProcess doesn't know this verb stuff. ... Process class in .NET is using ShellExecute instead of ... Yes ShellExecute is an API that doesn't exposted in .NET class library ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Shellexecute auf bestimmten Monitor
    ... Nicht ShellExecute verwenden, sondern CreateProcess, da hat man viel ... ohne diese Hilfskonstruktion mit dem Leitfenster. ... Wer Komponenten ohne Quelltext oder richtig miese Komponenten ...
    (de.comp.lang.delphi.misc)
  • Re: Befehlsinformationen
    ... > Infromationen zu all den Argumenten, aber auch diese sind mir oft ein ... Da hilft www.google.de indem Du mal diese newsgroup nach CreateProcess ... > probiere im Moment noch viel mit neuen Befehlen herum, ... Auch zu ShellExecute* wirst Du in dieser Gruppe einigen Beispielcode finden. ...
    (microsoft.public.de.vc)
  • Re: createprocess or shellexecute?
    ... >Using createprocess or shellexecute for the app creation? ... CreateProcess or ShellExecuteEx will both give you a handle to the ... Unsolicited email is NOT welcome and will go unanswered. ...
    (microsoft.public.vc.mfc)