Démarrer une autre application à partir d'une application Compact .Net 1.0
-
03-07-2019 - |
Question
Y a-t-il un moyen de démarrer une autre application à partir de Compact .Net framework 1.0 similaire à
System.Diagnostics.Process.Start
côté Windows?
Je dois démarrer un fichier CAB pour l'installation.
La solution
Jetez un coup d'œil à
http://www.pinvoke.net/default.aspx/coredll /CreateProcess.html
Autres conseils
Vous pouvez P / invoquer CreateProcess ou ShellExecuteEx . Une autre solution consiste à utiliser l'ancien Smart Device Framework (1.4) qui enveloppe ces P / Invoque avec un modèle d'objet correspondant au bureau. Le premier est simple. Ce dernier rendra votre code plus portable et plus lisible pour les développeurs gérés.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow