/** ************************************************************************** * Copyright (C) 2004 David Lucardi * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * *************************************************************************** * File : shellexec.c * Author : David Lucardi * mailto:davidlucardi@aol.com * http://www.abuledu.org/leterrier/ * Date : 01/01/2004 * Licence : GNU/GPL Version 2 * * Description: * ------------ * * @version $Id: shellexec.c,v 1.1.1.1 2004/04/16 13:03:55 erics Exp $ * @author David Lucardi * @project * @copyright David Lucardi 01/01/2004 * * ************************************************************************* */ #include #include int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { // aucune verif sur les erreurs, on travaille sans filet ShellExecute(NULL, "open", lpCmdLine, NULL, NULL, SW_HIDE); return 0; }