Page 1 of 1

Jump on a part of a command

Posted: Sat Jul 23, 2016 5:40 am
by Hero1711
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/CodeExam ... ols_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".

Re: Jump on a part of a command

Posted: Sat Jul 23, 2016 6:07 am
by Admin
It seems that "__tpdsc__ TPerformanceGraph" isn't a function/code, it's just a data (RTTI information). So you don't need to add such objects into a VMProtect project.

Re: Jump on a part of a command

Posted: Sat Jul 23, 2016 6:31 am
by Hero1711
I see. Thanks for the clarification.