Click here to Skip to main content
15,886,199 members
Articles / Containers / Virtual Machine

TOOL

Rate me:
Please Sign up or sign in to vote.
4.98/5 (52 votes)
23 Oct 200676 min read 230.2K   5.4K   147  
TOOL (Tiny Object Oriented Language) is an easily-embedded, object-oriented, C++-like-language interpreter. The purpose of this article is to introduce the TOOL interpreter and language from the perspective of a person who has a desire to include a scripting solution as part of his project.
/*****************************************************************************/
/*                              SOURCE FILE                                  */
/*****************************************************************************/
/*
       $Archive: $

      $Revision: $
          $Date: $
        $Author: $

    Description: Common Includes for The VirtualOpSys Functions, both public
                 and private

                      TOOL And XML FORMS License
                      ==========================

                      Except where otherwise noted, all of the documentation 
                      and software included in the TOOL package is 
                      copyrighted by Michael Swartzendruber.

                      Copyright (C) 2005 Michael John Swartzendruber. 
                      All rights reserved.

                      Access to this code, whether intentional or accidental,
                      does NOT IMPLY any transfer of rights.

                      This software is provided "as-is," without any express 
                      or implied warranty. In no event shall the author be held
                      liable for any damages arising from the use of this software.

                      Permission is granted to anyone to use this software for 
                      any purpose, including commercial applications, and to 
                      alter and redistribute it, provided that the following 
                      conditions are met:

                      1. All redistributions of source code files must retain 
                         all copyright notices that are currently in place, 
                         and this list of conditions without modification.

                      2. The origin of this software must not be misrepresented;
                         you must not claim that you wrote the original software.

                      3. If you use this software in another product, an acknowledgment
                         in the product documentation would be appreciated but is
                         not required.

                      4. Modified versions in source or binary form must be plainly 
                         marked as such, and must not be misrepresented as being 
                         the original software.
*/
/*****************************************************************************/


#pragma warning( disable : 4786 )
#pragma comment( lib , "Netapi32.lib" )

#include <afxwin.h>              // MFC core and standard components
#include <afx.h>
#include <basetyps.h>
#include <winbase.h>
#include <ole2.h>                // for com (ocx) registration related calls
#include <setjmp.h>
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <string.h>
#include <assert.h>
#include <winver.h>              // for os version information
#ifndef _WINDOWS_
#include <windows.h>             // for server enumeration
#endif
#include <lm.h>

typedef struct _tagBinRecHeader
{
  short   m_iHeaderSize;
  short   m_iType;
  int     m_iRecSize;
} 
REC_HEADER;

// API Support Classes Are Located Here
//
#include "./APIClasses/VMByteArray.h"
#include "./APIClasses/VMCalculator.h"
#include "./APIClasses/VMCompareDirs.h"
#include "./APIClasses/VMCopyTree.h"
#include "./APIClasses/VMDateTime.h"
#include "./APIClasses/VMDirScanner.h"
#include "./APIClasses/VMEnvironment.h"
#include "./APIClasses/VMExcelExporter.h"
#include "./APIClasses/VMExtDllManager.h"
#include "./APIClasses/VMFileParser.h"
#include "./APIClasses/VMIniFileLoader.h"
#include "./APIClasses/VMMessageBox.h"
#include "./APIClasses/VMNetworkDrive.h"
#include "./APIClasses/VMODBCConnection.h"
#include "./APIClasses/VMODBC.h"
#include "./APIClasses/VMOdbcInstaller.h"
#include "./APIClasses/VMPathMaker.h"
#include "./APIClasses/VMProcessProbe.h"
#include "./APIClasses/VMProcessRunner.h"
#include "./APIClasses/VMRegistry.h"
#include "./APIClasses/VMReportPage.h"
#include "./APIClasses/VMTokenizer.h"
#include "./APIClasses/VMSqlLite.h"
#include "./APIClasses/VMUnzipper.h"
#include "./APIClasses/VMZipper.h"
#include "./APIClasses/VMSqlLite3.h"
#include "./Collections/VMVector.h"            // for vector collection
#include "./Collections/VMQueue.h"             // for queue collection
#include "./Collections/VMStack.h"             // for stack collection
#include "./Collections/VMHashTable.h"         // for hashtable collection
#include "./Collections/VMFileBuilder.h"
#include "./CryptoTools/VMCrc32.h"
#include "./CryptoTools/VMMD5CheckSum.h"
#include "./CryptoTools/VMRijndael.h"

// other components of this virtual machine
//
#include "VMCoreDataMonitor.h"                         // for variable locking
#include "VMCoreGlobal.h"
#include "VMCoreVirtualChip.h"
#include "VMCoreCompiler.h"
#include "VMCoreInterpreter.h"
#include "VMCoreVirtualMachine.h"
#include "VMException.h"
#include "VMCoreVirtualOpSys.h"

#ifndef NOT_USING_XML_FORMS
#include "../../GUI.Tools/XMLForms/XMLFormFacade.h"
#endif

#include "../VMFacade.h"




/*****************************************************************************/
/* Check-in history */
/*
 *$Log: $
*/
/*****************************************************************************/


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions