45 lines
1.3 KiB
C++

/*********************************************************************************************
* Copyright 2002 - Volian Enterprises, Inc. All rights reserved.
* Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
* ------------------------------------------------------------------------------
* $Workfile: WinExeClass.h $ $Revision: 2 $
* $Author: Jsj $ $Date: 12/16/03 11:59a $
*
* $History: WinExeClass.h $
*
* ***************** Version 2 *****************
* User: Jsj Date: 12/16/03 Time: 11:59a
* Updated in $/LibSource/WinExeClass
* modified to all use in .net 1.0 and .net 1.1
*
* ***************** Version 1 *****************
* User: Jsj Date: 8/23/02 Time: 2:57p
* Created in $/LibSource/WinExeClass
*********************************************************************************************/
// WinExeClass.h
#pragma once
#include <windows.h>
#include <atlstr.h>
using namespace System;
namespace WinExeClass
{
public __gc class CLWinExec
{
public:
// TODO: Add your methods for this class here.
CLWinExec(){};
bool RunWinExe(char *prgName);
bool RunWinExe(String *prgName);
bool RunCreateProcess(char *prgName);
bool RunCreateProcess(String *prgName);
private:
// char *tmpstr;
bool DoWinExe(char *prgName);
bool DoCreateProcess(char *prgName);
};
}