|
Sujet : [Delphi 4] Ouvrir une autre instance de l'executable |
| antp |
bon c'est fini avec ce WinExec ? :D
c'est une fonction de Windows 3.1
ça marche pas toujours en NT/2k
et dans l'aide ils disent bien:
Citation :
Win32-based applications should use the CreateProcess function rather than this function. The WinExec function exists in Win32 to provide compatibility with earlier versions of Windows.
|
Pour ShellExecute ils disent rien donc je suppose qu'il n'y a pas de risques à l'utiliser, et c'est plus simple que CreateProcess. |