Jump on a part of a command

Issues related to VMProtect
Post Reply
Hero1711
Posts: 9
Joined: Fri Jun 17, 2016 6:10 pm

Jump on a part of a command

Post 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".
Attachments
VMProtect error
VMProtect error
VMProtect_TPerformanceGraph.png (95.14 KiB) Viewed 5728 times
Last edited by Hero1711 on Sat Jul 23, 2016 6:31 am, edited 1 time in total.
Admin
Site Admin
Posts: 2584
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Jump on a part of a command

Post 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.
Hero1711
Posts: 9
Joined: Fri Jun 17, 2016 6:10 pm

Re: Jump on a part of a command

Post by Hero1711 »

I see. Thanks for the clarification.
Post Reply