Home
Quick Jump Menu
Categories
There are no subcategories in this category.
1 I have put a VM macro in my "main()" function. Inside the VM_START/END markers I'm calling several functions. Are those called functions also virtualized?

Suppose the following example: int main(void) { ​ VM_START​ MyFunction1(); MyFunction2(); ​ return 0; VM_END } ​ In the above example you are protecting the code inside the "main()" function but not the code inside "Function1()" and "Function2()".…

2 I have a few Portuguese strings inside my VIRTUALIZER macro but some of them are not recognize when I click on the "ANSI strings" tab in the "Protection Macros" panel. What's wrong?

Code Virtualizer searches for printable chars to be able to determine if a pointer to "something" is a string or not. As your string might contain special Portuguese characters the internal function to determine if a specific char is printable might fail.…

3 In the "custom_vms" folder I can see the name of the available virtual machines. Can I change the internal settings inside each ".vm" file?

We have inserted an internal CRC to avoid people changing the settings inside the .vm files. We normally deliver 3 files for each specific VM architecture. For example, the TIGER architecture contains: "Tiger white", "Tiger red" and "Tiger Black". The "white"…

4 Can you let me know the association between VIRTUALIZER_START, VIRTUALIZER1_START, VIRTUALIZER2_START, etc and the number of virtual machines created in the user interface?

The VIRTUALIZER_START is associated to any (random) virtual machine that you choose in the Interface. If you just select one virtual machine, VIRTUALIZER_START will go to the created virtual machine. If you have created 2 virtual machines, the VIRTUALIZER_START…

5 Does {$I Virtualizer_MutateX_Start.inc} always refer to the first virtual machine? Or to any of the defined virtual machines?

It’s not defined to a specific Virtual Machine (but it can be easily changed to be defined for a specific virtual machine). That macro is a bit old and it was created when the different VMs could not be tuned up separately. In latest Code Virtualizer, you…

6 In Delphi, if I use {$I Virtualizer_Mutate2_Start.inc}, must I close it with {$I Virtualizer2_End.inc}, or simply with {$I Virtualizer_End.inc} ?

It's exactly the same to use "{$I Virtualizer2_End.inc}" or "{$I Virtualizer_End.inc}", they are internally defined in the same way.

7 I just tried to apply CV on a vital function in my application, but when I pressed "Protect" on the protection dialog inside CV, it went into an infinite loop. I have added the function via MAP file

We recommend you to put the CV macros directly (instead of via MAP file), because as you might know, there are some restrictions for macros (like switch/case statements, etc), so you have better control via CV macro. Anyway, if you can send us the problematic…