文件名称:ScriptObject (脚本解析类)
文件大小:3KB
文件格式:RAR
更新时间:2013-08-10 09:36:34
参考
参考及修改: BOOL SetTimeout(long lTime); LPCTSTR GetLanguage(); void SetLanguage(LPCTSTR szLanguage); int GetMethodsCount() const; LPCTSTR GetNameAt(int index); void Reset(); bool LoadScript(LPCTSTR szFilename); bool LoadScriptResource(LPCTSTR lpName, LPCTSTR lpType, HINSTANCE hInstance); bool AddScript(LPCTSTR szCode); bool AddObject(LPCTSTR szObject,LPDISPATCH Object,bool AddMembers); LPCTSTR GetErrorString(); bool ExecuteStatement(LPCTSTR szStatement); bool RunProcedure(LPCTSTR szProcName, SAFEARRAY** saParameters, VARIANT* varRet); //protected: void CommonConstruct(); bool GetMethodsName(); LPCTSTR GetScriptFunction(LPCTSTR name);
【文件预览】:
ScriptObject
----ScriptObject.cpp(11KB)
----ScriptObject.h(2KB)