IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

C++ Discussion :

Utilisation ShellExecute c++


Sujet :

C++

  1. #1
    Membre à l'essai
    Profil pro
    Inscrit en
    Avril 2009
    Messages
    36
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2009
    Messages : 36
    Points : 23
    Points
    23
    Par défaut Utilisation ShellExecute c++
    Bonjour a tous,

    Je viens vous voir car j'ai un problème avec l'utilisation de ShellExecute en c++.

    J'utilise un ShellExecute pour lancer un programme qui me trace une courbe (gnuplot). Le problème c'est que pour passer à la suite de l'execution de mon programme, j'ai besoin d'attendre la fin du ShellExecute.
    Pour l'instant je fais comme ceci :


    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
     
    ShellExecute(0, L"open",L"D:\\gnuplot\\bin\\wgnuplot", L"\\graphique.txt -persist", 0, SW_HIDE); /*"graphique.txt" est un fichier texte contenant la courbe à tracer.*/
    Sleep(1000);
    ...etc
    Mais j'aimerais ne pas utiliser un Sleep car le temps d'execution varie beaucoup d'un ordinateur à l'autre.
    Si vous avez une solution pour attendre la fin du processus, je suis preneur. J'ai entendu parler de "ShellExecuteEx" mais je ne pense pas pouvoir mettre tous les paramètres dont j'ai besoin;

    Je vous remercie d'avance de passer du temps sur mon problème

  2. #2
    Rédacteur

    Avatar de ram-0000
    Homme Profil pro
    Consultant en sécurité
    Inscrit en
    Mai 2007
    Messages
    11 517
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 61
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Consultant en sécurité
    Secteur : High Tech - Opérateur de télécommunications

    Informations forums :
    Inscription : Mai 2007
    Messages : 11 517
    Points : 50 367
    Points
    50 367
    Par défaut
    A ce moment là, j'utiliserai plutôt CreateProcess().

    cela permet de lancer un programme (comme ShellExecute) mais en plus, tu récupères un HANDLE sur le process et tu peux donc faire une attente bloquante (ou avec timeout) sur la fin de ce process avec WaitForSingleObject()
    Raymond
    Vous souhaitez participer à la rubrique Réseaux ? Contactez-moi

    Cafuro Cafuro est un outil SNMP dont le but est d'aider les administrateurs système et réseau à configurer leurs équipements SNMP réseau.
    e-verbe Un logiciel de conjugaison des verbes de la langue française.

    Ma page personnelle sur DVP
    .

  3. #3
    Membre éclairé
    Avatar de Floréal
    Profil pro
    Inscrit en
    Novembre 2004
    Messages
    456
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France

    Informations forums :
    Inscription : Novembre 2004
    Messages : 456
    Points : 849
    Points
    849
    Par défaut
    Est-ce que par hasard system() ne te conviendrait pas mieux, par hasard?
    Ancien membre du projet "Le Dernier Âge".

  4. #4
    Membre à l'essai
    Profil pro
    Inscrit en
    Avril 2009
    Messages
    36
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2009
    Messages : 36
    Points : 23
    Points
    23
    Par défaut
    La commande system ne me convient pas car je veux pouvoir caché la fenetre de "cmd".


    Je vais me renseigner sur CreateProcess

  5. #5
    Membre à l'essai
    Profil pro
    Inscrit en
    Avril 2009
    Messages
    36
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2009
    Messages : 36
    Points : 23
    Points
    23
    Par défaut
    Désolé mais je ne comprend rien sur CreatProcess. Ca m'a l'air assez compliqué et en plus mon niveau d'anglais n'est pas exeptionnel.
    Est ce possible de m'aider un peu plus??

  6. #6
    Rédacteur

    Avatar de ram-0000
    Homme Profil pro
    Consultant en sécurité
    Inscrit en
    Mai 2007
    Messages
    11 517
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 61
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Consultant en sécurité
    Secteur : High Tech - Opérateur de télécommunications

    Informations forums :
    Inscription : Mai 2007
    Messages : 11 517
    Points : 50 367
    Points
    50 367
    Par défaut
    Ce soir, j'envoie du code et une classe (je l'ai pas sous la main)
    Raymond
    Vous souhaitez participer à la rubrique Réseaux ? Contactez-moi

    Cafuro Cafuro est un outil SNMP dont le but est d'aider les administrateurs système et réseau à configurer leurs équipements SNMP réseau.
    e-verbe Un logiciel de conjugaison des verbes de la langue française.

    Ma page personnelle sur DVP
    .

  7. #7
    Membre à l'essai
    Profil pro
    Inscrit en
    Avril 2009
    Messages
    36
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2009
    Messages : 36
    Points : 23
    Points
    23
    Par défaut
    ok, merci beaucoup

  8. #8
    Membre éclairé

    Profil pro
    Inscrit en
    Septembre 2006
    Messages
    717
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2006
    Messages : 717
    Points : 858
    Points
    858
    Par défaut
    Avec la fonction _wspawnl ça sera plus simple, elle permet de choisir d'attendre la fin du processus (1er argument) :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    _wspawnl(_P_WAIT, L"D:\\gnuplot\\bin\\wgnuplot", L"\\graphique.txt", L"-persist", NULL);

  9. #9
    Rédacteur

    Avatar de ram-0000
    Homme Profil pro
    Consultant en sécurité
    Inscrit en
    Mai 2007
    Messages
    11 517
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 61
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Consultant en sécurité
    Secteur : High Tech - Opérateur de télécommunications

    Informations forums :
    Inscription : Mai 2007
    Messages : 11 517
    Points : 50 367
    Points
    50 367
    Par défaut
    C'est une classe que j'utilise dansd une librairie de classes, il y a donc un contexte qui fait que sortie de cette librairie, cela ne compilera pas mais tu peux t'inspirer.

    Mes conventions :
    MCR_U4 = unsigned long int (4 octets non signés)
    MCR_U2 = unsigned short int (2 octets non signés)
    MCR_S4 = signed long int (4 octets signés)
    MCR_S2 = signed short int (2 octets signés)
    MCR_CSTR = const wchar_t *
    MCR_STRING = CString MFC unicode


    Code McrProcess.h : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    #ifndef __INCLUDE_McrProcess__
    #define __INCLUDE_McrProcess__
     
    #include "CommonDLL.h"
     
    class CMcrProcess : public CMcrHandle
    {
    public:
    	CMcrProcess(void);
    	virtual ~CMcrProcess(void);
     
    	static MCR_STRING ProcessQuote(MCR_CSTR String_In);
    	static MCR_STRING ProcessUnquote(MCR_CSTR String_In);
     
    	// to change the identity of the created process
    	bool ProcessSetIdentity(MCR_CSTR Domain, MCR_CSTR Login, MCR_CSTR Password);
    	bool ProcessSetIdentity(MCR_CSTR Login, MCR_CSTR Password);
    	void ProcessSetNoIdentity(void);
     
    	void ProcessResetCreationFlag(void) { m_creation_flag = 0; }
    	void ProcessSetVisible(void);
    	void ProcessSetNotVisible(void);
    	MCR_U4 ProcessGetCreationFlag(void) const { return m_creation_flag; }
     
    	MCR_U4 ProcessGetId(void) const { return m_process_id; }
    	MCR_U4 ProcessGetThreadId(void) const { return m_thread_id; }
     
    	// start a process
    	// return true  : no problem
    	// return false : a problem
    	bool ProcessStart(MCR_CSTR ProgName, MCR_CSTR Param);
     
    	// stop a process
    	// return true  : no problem
    	// return false : a problem
    	bool ProcessKill(void);
     
    	// forget the process
    	// it will continue or stop alone
    	// without control possibility
    	bool ProcessDetach(void);
     
    	// restart the process
    	// return true  : no problem
    	// return false : a problem
    	bool ProcessRestart(void);
     
    	// test if process is started
    	// return true  : a process is started
    	// return false : no process is started
    	bool ProcessIsRunning(void);
     
    	// wait for the end of the process
    	// this call is blocking
    	bool ProcessWaitUntilEnd(void);
     
    	// wait for the input idle of the process
    	// this call is blocking
    	bool ProcessWaitUntilInputIdle(void);
     
    private:
    	void _reset_all(void);
     
    	MCR_STRING m_ProgName;
    	MCR_STRING m_Param;
     
    	MCR_U4 m_thread_id;
    	MCR_U4 m_process_id;
     
    	MCR_STRING m_run_as_domain;
    	MCR_STRING m_run_as_login;
    	MCR_STRING m_run_as_password;
    	MCR_U4 m_creation_flag;
    };
    #endif // #ifndef __INCLUDE_McrProcess__

    Code McrProcess.cpp : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    #include "CommonDLL.h"
     
    #ifdef _DEBUG
    #define new DEBUG_NEW
    #endif
     
    CMcrProcess::CMcrProcess(void)
    :	CMcrHandle(L"CMcrProcess")
    {
    	ProcessSetNoIdentity();
    	ProcessResetCreationFlag();
    	m_thread_id = 0;
    	m_process_id = 0;
    }
     
    CMcrProcess::~CMcrProcess(void)
    {
    	ProcessSetNoIdentity();
    	if(ProcessIsRunning() == true)
    		ProcessKill();
    }
     
    bool CMcrProcess::ProcessSetIdentity(MCR_CSTR Domain, MCR_CSTR Login, MCR_CSTR Password)
    {
    	// not allowed to change identity when running
    	if(ProcessIsRunning() == true)
    		return false;
     
    	ProcessSetNoIdentity();
     
    	if(Domain != NULL)
    	{
    		m_run_as_domain = Domain;
    	}
    	else
    	{
    		// domain name is host name
    		CMcrNetwork::GetMyHostName(m_run_as_domain);
    	}
     
    	if(Login != NULL)
    		m_run_as_login = Login;
     
    	if(Password != NULL)
    		m_run_as_password = Password;
     
    	// all is correct
    	return true;
    }
     
    bool CMcrProcess::ProcessSetIdentity(MCR_CSTR Login, MCR_CSTR Password)
    {
    	// check the login name
    	if(Login == NULL)
    	{
    		ERROR1(L"NULL login name");
    		return false;
    	}
     
    	// try to find the '\' separator character
    MCR_STRING str = Login;
    int pos = str.Find(C_BACKSLASH);
    	if(pos == -1)
    	{
    		// try to find the '@' separator character
    		pos = str.Find('@');
    		if(pos == -1)
    		{
    			return ProcessSetIdentity(NULL, Login, Password);
    		}
     
    		// extract domain name and login
    		MCR_STRING login = str.Left(pos);
    		MCR_STRING domain = str.Mid(pos + 1);
    		return ProcessSetIdentity(domain, login, Password);
    	}
     
    	// extract domain name and login
    	MCR_STRING domain = str.Left(pos);
    	MCR_STRING login = str.Mid(pos + 1);
    	return ProcessSetIdentity(domain, login, Password);
    }
     
    void CMcrProcess::ProcessSetNoIdentity(void)
    {
    	m_run_as_domain = EMPTY_STR;
    	m_run_as_login = EMPTY_STR;
    	m_run_as_password = EMPTY_STR;
    }
     
    bool CMcrProcess::ProcessStart(MCR_CSTR ProgName, MCR_CSTR Param)
    {
    	// test if running
    	if(ProcessIsRunning() == true)
    	{
    		INFO1(L"The process is already running");
    		return false;
    	}
     
    	// save the parameters
    	m_ProgName = ProgName;
    	m_Param = Param;
     
    	// create the command name
    MCR_STRING command = m_ProgName;
    	if(m_Param.GetLength() != 0)
    	{
    		command += S_SPACE;
    		command += m_Param;
    	}
     
    	// Set up members of the PROCESS_INFORMATION structure.
    	PROCESS_INFORMATION pi;
    	::memset(&pi, 0, sizeof(pi));
     
    	// test if the change identity is on
    BOOL ret;
    	if(m_run_as_login.GetLength() != 0)
    	{
    		STARTUPINFOW siw;
    		memset(&siw, 0, sizeof(siw));
    		siw.cb = sizeof(siw);
     
    		// start the process with the new identity
    		// WARNING1, this call will fail if running in debug mode
    		// it seems that only the user 'localsystem' is privilegied enougth
    		// to successfully execute this call
    		ret = ::CreateProcessWithLogonW(m_run_as_login,
    										m_run_as_domain,
    										m_run_as_password,
    										LOGON_WITH_PROFILE,
    										NULL,						// name of executable module
    										(MCR_STR)(MCR_CSTR)command,	// command line string
    										ProcessGetCreationFlag(),
    										NULL,
    										CMcrFile::GetWorkingDirectory(),
    										&siw,						// startup information
    										&pi);						// process information
    		if(ret == FALSE)
    		{
    			// a problem, this is probably an login problem
    			// restart the same process with no account
    			ERROR4(L"Error 0x%.8x when starting the process with the %s\\%s identity", GetLastError(), m_run_as_domain, m_run_as_login);
    			WARNING1(L"The same process will be restarted without credentials");
    			ProcessSetNoIdentity();
    			return ProcessStart(ProgName, Param);
    		}
    		//INFO3(L"Process is successfully started with the %s\\%s identity", m_run_as_domain, m_run_as_login);
    	}
    	else
    	{
    		// Set up members of the STARTUPINFO structure. 
    		STARTUPINFO si;
    		memset(&si, 0, sizeof(si));
    		si.cb = sizeof(si);
     
    		ret = ::CreateProcess(	NULL,							// name of executable module
    								(MCR_STR)(MCR_CSTR)command,		// command line string
    								NULL,							// SD
    								NULL,							// SD
    								FALSE,							// handle inheritance option
    								ProcessGetCreationFlag(),				// creation flags
    								NULL,							// new environment block
    								CMcrFile::GetWorkingDirectory(),// current directory name
    								&si,							// startup information
    								&pi);							// process information
    	}
    	if(ret == FALSE)
    	{
    		ERROR2(L"%s", CMcr::McrGetErrorString());
    		INFO1(L"Error when starting the process");
    		return false;
    	}
     
    	// get the thread ID and process ID
    	m_process_id = pi.dwProcessId;
    	m_thread_id = pi.dwThreadId;
    	HandleSet(pi.hProcess);
    	::CloseHandle(pi.hThread);
     
    	// the process is running
    	//INFO2(L"Starting the process '%s'", command);
    	return true;
    }
     
    bool CMcrProcess::ProcessDetach(void)
    {
    	// test if running
    	if(ProcessIsRunning() == false)
    	{
    		INFO1(L"The process is not running");
    		return false;
    	}
     
    	// No further communication with process required, so close the handle
    	INFO1(L"Detaching a process");
    	_reset_all();
    	return true;
    }
     
    bool CMcrProcess::ProcessKill(void)
    {
    	// test if running
    	if(ProcessIsRunning() == false)
    	{
    		INFO1(L"The process is not running");
    		return false;
    	}
     
    	// kill the process
    	BOOL ret = ::TerminateProcess(	HandleGet(),	// handle to the process
    									(MCR_U4)-1);	// exit code for the process
     
    	if(ret == FALSE)
    	{
    		INFO1(L"Error when killing the process");
    	}
     
    	// No further communication with process required, so close the handle
    	_reset_all();
     
    	// the process is killed
    	INFO1(L"Killing a process");
    	return true;
    }
     
    bool CMcrProcess::ProcessRestart(void)
    {
    	// test if running
    	if(ProcessIsRunning() == true)
    	{
    		INFO1(L"The process is already running");
    		return false;
    	}
     
    	// restart the process
    	return ProcessStart(m_ProgName, m_Param);
    }
     
    bool CMcrProcess::ProcessIsRunning(void)
    {
    	// test if started
    	if(HandleIsValid() == false)
    		return false;
     
    	// try to get the process exit code
    MCR_U4 Exit;
    BOOL ret = ::GetExitCodeProcess(HandleGet(),		// handle to the process
    								&Exit);				// termination status
    	if(ret == FALSE)
    	{
    		// unable to get information, the process has exited
    		_reset_all();
    		return false;
    	}
     
    	// test if still running
    	if(Exit != STILL_ACTIVE)
    	{
    		// the process has exited
    		_reset_all();
    		return false;
    	}
     
    	// the process is still running
    	return true;
    }
     
    bool CMcrProcess::ProcessWaitUntilInputIdle(void)
    {
    	// test if running
    	if(ProcessIsRunning() == false)
    	{
    		INFO1(L"The process is not running");
    		return false;
    	}
     
    	// wait indefinitely until the input of the process idle
    	::WaitForInputIdle(HandleGet(), INFINITE);
    	return true;
    }
     
    bool CMcrProcess::ProcessWaitUntilEnd(void)
    {
    	// test if running
    	if(ProcessIsRunning() == false)
    	{
    		INFO1(L"The process is not running");
    		return false;
    	}
     
    	//INFO1(L"Wait until the process exits");
    	HandleWait();
     
    	// No further communication with process required, so close the handle
    	_reset_all();
     
    	// the process is killed
    	return true;
    }
     
    void CMcrProcess::ProcessSetVisible(void)
    {
    	m_creation_flag &= ~CREATE_NO_WINDOW;
    	m_creation_flag |= CREATE_UNICODE_ENVIRONMENT;
    }
     
    void CMcrProcess::ProcessSetNotVisible(void)
    {
    	m_creation_flag |= CREATE_NO_WINDOW;
    }
     
    MCR_STRING CMcrProcess::ProcessQuote(MCR_CSTR String_In)
    {
    MCR_STRING ret = String_In;
    	ret.Replace(L"'", L"''");
    	ret.Replace(L"\"", L"'q");
    	return ret;
    }
     
    MCR_STRING CMcrProcess::ProcessUnquote(MCR_CSTR String_In)
    {
    MCR_STRING ret = String_In;
    	ret.Replace(L"'q", L"\"");
    	ret.Replace(L"''", L"'");
    	return ret;
    }
     
    void CMcrProcess::_reset_all(void)
    {
    	HandleClose();
    	m_process_id = 0;
    	m_thread_id = 0;
    }
    Raymond
    Vous souhaitez participer à la rubrique Réseaux ? Contactez-moi

    Cafuro Cafuro est un outil SNMP dont le but est d'aider les administrateurs système et réseau à configurer leurs équipements SNMP réseau.
    e-verbe Un logiciel de conjugaison des verbes de la langue française.

    Ma page personnelle sur DVP
    .

  10. #10
    Membre à l'essai
    Profil pro
    Inscrit en
    Avril 2009
    Messages
    36
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2009
    Messages : 36
    Points : 23
    Points
    23
    Par défaut
    Merci beaucoup à tous d'avoir passé du temps sur mon problème. J'ai résolu mon problème en faisant de la manière suivante :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    SHELLEXECUTEINFO commande; 
    ZeroMemory (&commande, sizeof (SHELLEXECUTEINFO)); 
    commande.cbSize = sizeof (SHELLEXECUTEINFO); 
    commande.lpVerb = L"open";
    commande.lpFile = L"D:\\gnuplot\\bin\\wgnuplot";
    commande.lpParameters = L"D:\\graphique.txt -persist";
    commande.nShow = SW_HIDE;
    commande.fMask = SEE_MASK_NOCLOSEPROCESS;
    ShellExecuteEx(&commande); 
    WaitForSingleObject(commande.hProcess, INFINITE);
    Ca marche nickel.

    J'ai essayé d'utiliser "CreateProcess()" mais c'était un peu compliqué.

    Par contre "_wspawnl" ne marchais pas. Ca me lancais gnuplot mais ca ne voulait pas prendre en parametre mon fichier texte pour m'afficher le graphique.

    Encore merci et à bientot

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Comment Utiliser ShellExecute ?
    Par Hellgast dans le forum C++Builder
    Réponses: 5
    Dernier message: 30/09/2009, 12h16
  2. Utilisation de ShellExecute
    Par ksoft dans le forum Visual C++
    Réponses: 2
    Dernier message: 26/09/2006, 14h53
  3. Utilisation ShellExecute
    Par figarojuju dans le forum Windows
    Réponses: 7
    Dernier message: 03/05/2006, 10h20
  4. Utilisation de Shellexecute
    Par madislak dans le forum C
    Réponses: 6
    Dernier message: 24/01/2006, 17h43
  5. Comment utiliser ShellExecute avec un programme DOS ?
    Par RC10GT_MGT dans le forum API, COM et SDKs
    Réponses: 9
    Dernier message: 22/09/2005, 14h23

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo