⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myatsobj.cpp

📁 在你的程序中实现脚本功能,该脚本引擎名为AtScript , 是类似于VBScript 的语法, 在一些比VBScript 更好用,更方便,性能更高,而且容易扩展,无需组件环境,
💻 CPP
字号:
// UnInstallAtsObj.cpp: implementation of the CMyAtsObj class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "MyAtsObj.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CMyAtsObj::CMyAtsObj()
{

}

CMyAtsObj::~CMyAtsObj()
{

}

//===================================================
// 执行 Install 的对象 Function
//===================================================
BOOL CMyAtsObj::DoFun( LPCTSTR sFunName , CAtsParam *pParam )
{
	CString		strFunName  = sFunName;
	if( strFunName.CompareNoCase("Test") == 0 )
	{
		AfxMessageBox( pParam->GetItemData(1) );
		return true;
	}
	else if( strFunName.CompareNoCase("GetName") == 0 )
	{
		pParam->SetReturnData( _T("MyObj") );
		return true;
	}

	return false;
}

BOOL CMyAtsObj::SetVar(LPCTSTR strName , LPCTSTR strData)
{
	return false;
}

//=======================================================
// 得到变量对象
//=======================================================
CAtsVarItem * CMyAtsObj::GetVarItem(LPCTSTR sName )
{
	return NULL;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -