VMProtectDecryptString
Posted: Tue Jul 03, 2012 4:47 pm
I am working on a DLL.
If if do in c++
std:string sTest1 = VMProtectDecryptStringA("Test");
std:string sTest2 = VMProtectDecryptStringA("Test123");
in the objects list, I only see the "Test" I do not see Test123 unless I do this:
std:string sTest1 = VMProtectDecryptStringA("Test");
VMProtectFreeString("Test");
std:string sTest2 = VMProtectDecryptStringA("Test123");
VMProtectFreeString("Test123");
Is this the correct way to do this? Otherwise, if I have 10 strings in one function, it only does the last one.
Also, this doesnt work either:
if(strcmp(proj->sName,VMProtectDecryptStringA("TestData"))==0)
{
..
} else
if(strcmp(proj->sName,VMProtectDecryptStringA("OtherData"))==0)
{
}
It will never show "OtherData" in the object list.
If if do in c++
std:string sTest1 = VMProtectDecryptStringA("Test");
std:string sTest2 = VMProtectDecryptStringA("Test123");
in the objects list, I only see the "Test" I do not see Test123 unless I do this:
std:string sTest1 = VMProtectDecryptStringA("Test");
VMProtectFreeString("Test");
std:string sTest2 = VMProtectDecryptStringA("Test123");
VMProtectFreeString("Test123");
Is this the correct way to do this? Otherwise, if I have 10 strings in one function, it only does the last one.
Also, this doesnt work either:
if(strcmp(proj->sName,VMProtectDecryptStringA("TestData"))==0)
{
..
} else
if(strcmp(proj->sName,VMProtectDecryptStringA("OtherData"))==0)
{
}
It will never show "OtherData" in the object list.