Skip to content

When I try to virtualize some code lines in my function, Code Virtualizer complains that the VIRTUALIZER_END marker is not found. I tried #pragma optimize("",off) but same result.

Try placing more code inside the macro. Also ensure that VIRTUALIZER_END is not the function's last instruction, because the compiler may remove or transform it. If the problem persists, send us a small application that reproduces it.