How to create ESQL/C Stored Procedure 
------------------------
1.Purpose
2.Software Requirements
3.Installation Instructions


1. Purpose
--------------------------------------------------------------------------
When setting up the ESQL/C stored procedure, DBMaker will look for vcvars32.bat 
or vcvars64.bat according to the settings, use nmake through vcvars.bat to compile 
the stored procedure, please set the batch file before compiling to let DBMaker 
find vcvars position.


2. Software Requirements
--------------------------------------------------
DBMaker released after 2019.08.01
Minimum Visual Studio 2013 software, including VC++

  
3. Installation Instructions 
-------------------------------------------------------------------------------------
Add vc.bat file to @APP_HOME@\templates and set vc.bat content according to the DBMaker version 

   Note: DBMaker must be the same bit version as vcvars.bat. If set to a different bit version,
	 it will cause an error that cannot be compiled.

Here are some ways to set up the VS version.If you don't have the VS version you installed,
please find the path of vcvars32.bat(x86) or vcvars64.bat(x64) first.


  VS 2019
    64bit:
	@call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
    32bit:
	@call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"


  VS 2017
    64bit:
	@call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
    32bit:
	@call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"


  VS 2015
    64bit:
	@call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat"
    32bit:
	@call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\vcvars32.bat"


  VS 2013
    64bit:
	@call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\vcvars64.bat"
    32bit:
	@call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\vcvars32.bat"

