The following procedure may be useful if you want to use the SmartPlant Test Tool source files to build the SmartPlant Test Tool on your computer.
Before you begin, be sure that you fulfill the requirements described in SmartPlant Test Tool Source Code.
-
In a Command Prompt window (cmd.exe), type "regtlib <full path of win.tlb, surrounded by double quotes if there are spaces in the path>". For example, regtlib "D:\TEF Tools 0305.0024.0000 (2003.06.26)\TEF Tools\TEF Tools Common\win.tlb".
To unregister a type library, do the same thing with a " /u " after regtlib, e.g.: regtlib /u D:\foo\bar.tlb.
-
Unregister the DLLs that you are about to build by typing the following for each DLL in a Command Prompt window: regsvr32 /u <product directory for SmartPlant Client>\EF Test Tool\<DLL file name>
It may also be helpful to change the unregistered files' extensions from ".dll" to ".dll0" as a reminder that they are not used.
-
Build the SmartPlant Tools DLLs before the EXEs. Build these projects as you would any other Microsoft Visual Basic 6 projects.