IBM Support

How to create and build a Logiscope C++ TestChecker project using Microsoft Visual Studio 6

Question & Answer


Question

How to create and build a Logiscope C++ TestChecker project using Microsoft Visual Studio 6

Answer

The step by step procedure to create and build a C++ TestChecker project are :

  1. Open Microsoft VC++ 6.0
  2. Select File --> New
  3. Under the Projects tab select Win32 console application, key in the project name (ATM) and the location then click next
  4. Hit Finish --> ok
  5. Select build configurations and click on Add button
  6. Type the configuration name (ATMcon) and click ok...
  7. After clicking ok make sure we see the name of the configuration (ATM - Win32 ATMcon) then click close
  8. Select Build --> set active configurations and select your configuration and click ok again.
  9. Now save all
  10. Change the project settings as follows :
    1. under General select MS foundation classes as "Use MFC in shared DLL"
    2. under C/C++ select category as preprocessor and set the additional include directories as "C:\Program Files\ibm\Rational\Logiscope\6.6\instr\include"
    3. under Link --> object/library modules type "vlgtc.lib"
    4. under Link --> category select 'Input" and type the Additional library path as " C:\Program Files\ibm\Rational\Logiscope\6.6\instr\lib"
    5. Select OK
  11. Build the project
  12. Select project --> Export make file and then select the make file and click OK
  13. Close Microsoft VC++

Create a MakeLog.bat file with the following code in it and save it in the same location, as that of the VC++ project:



    call "c:\program files\microsoft visual studio\vc98\bin\vcvars32.bat"

    nmake /A /F ATM.mak CFG="ATM - Win32 ATMcon"


14. Open Logiscope create a C++ TestChecker project in the same location

15. Type in the command as cmd /c MakeLog.bat

16. Build the project in Logiscope

17. In the project settings, under the tab ‘TestChecker’ key in the path of the executable.


    For example: “C:\ATM\ATMcon\ATM.exe”

18. Now, you can run tests against the C++ console application using the TestChecker interface.
Attached is the sample project (ATM.zip) for reference.


Disclaimer

All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.


ATM.zip
[{"Product":{"code":"SSYQHS","label":"Rational Logiscope"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"6.6","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

More support for:
Rational Logiscope

Software version:
6.6

Operating system(s):
Windows

Document number:
131469

Modified date:
23 June 2018

UID

swg21410683