在4.3.3 bundle版中,如何使用ESQL/C存储过程? (DBMR 1912)
假设HOME路径为C:\dbmaster\43bundle.
使用过程将用到4.3.3 标准版中的一些文件夹和文件,所以用户需要复制这些相关的文件到bundle路径下。
通过下面的步骤,用户可以为在4.3.3bundle中使用ESQL/C存储过程准备环境。
步骤:
(1) 在注册表中注册DBMaster bundle版:为bundle注册HOME和COMPILER。
(2) 复制dmppcc.exe 到bundle\bin (C:\dbmaster\43bundle\bin)下
(3) 复制dmapi43.dll 到bundle\bin (C:\dbmaster\43bundle\bin)下
(4) 复制dmconfig.ini到 bundle\bin (C:\dbmaster\43bundle\bin)下
(5) 复制templates 文件夹到bundle (C:\dbmaster\43bundle\templates)下
(6) 从标准版中复制include 文件夹到bundle (C:\dbmaster\43bundle\include)下
(7) 从标准版中复制lib 文件夹到bundle (C:\dbmaster\43bundle\lib)下
(8) 修改templates文件夹下的文件 vc60.mak:修改文件夹为正在使用的文件夹;如果vc60.mak中还有其他文件夹或文件,那么也要将这些文件夹或文件复制到bundle文件夹下。
例如:
C:\DBMaster\4.3\include => C:\dbmaster\43bundle\include
C:\DBMaster\4.3\lib => C:\dbmaster\43bundle\lib
现在,用户能够在bundle4.3.3中创建和使用ESQL/C存储过程了。
在使用之前,记着删除4.3标准版,以保证环境的正确性。
注意: bundle版文件 dmconfig.ini和dmapi43.dll 分别存放在两个文件夹中。一个是C:\dbmaster\43bundle",另一个是"C:\dbmaster\43bundle\bin"。