My TestProject is a C++ Builder XE8 project which has 2 forms (MainForm and PerformanceForm).
The PerformanceForm has a TPerformanceGraph object which is from (http://docwiki.embarcadero.com/CodeExamples/XE8/en/VCL.Controls_Sample). Actually C++ Builder gave warnings about inline functions in a package so I made a copy of each of perfgrap.cpp, perfgrap.h, perfgrap.rc, perfgrap.rh and modified perfgrap.cpp, perfgrap.h to turn the inline functions to be non-inline.
Performance.cpp has some simple lines to make use of the TPerformanceGraph object.
When trying to compile the protected file via VMProtect Professional for Windows v3.0.9.629, it returned an error for “tpdsc TPerformanceGraph” (screenshot attached) on all Compilation Type except “None”.
