When You Need to Prepare Visual C++ Applications

Applies to TestLeft 15.40, last modified on March 17, 2022

You can test Visual C++ applications without any special preparations. However, to access internal objects of your application, you need to prepare it before you start testing:

  • To access public properties and methods of Microsoft Foundation Classes, compile your application with runtime type information (RTTI).

  • To access public, protected, and private fields and methods of your Visual C++ application from tests, compile your application with external debug information.

If your Visual C++ application is compiled with dynamically linked libraries, TestLeft will not be able to access to the protected and private internals of the application.

See Also

Preparing Visual C++ Applications for Testing

Highlight search results