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.
VMProtectDecryptString
Re: VMProtectDecryptString
Please send us a test example with this problem.
Re: VMProtectDecryptString
Correction:
std:string sTest1 = VMProtectDecryptStringA("Test");
std:string sTest2 = VMProtectDecryptStringA("Test123");
if used above Works
If I add the VMPRotectDecryptStringA within a param of another function it will not work.
AddEntry(1,3,iniFile.GetValueB("TEST",VMProtectDecryptStringA("Test1")));
AddEntry(2,3,iniFile.GetValueB("TEST",VMProtectDecryptStringA("Test123")));
std:string sTest1 = VMProtectDecryptStringA("Test");
std:string sTest2 = VMProtectDecryptStringA("Test123");
if used above Works
If I add the VMPRotectDecryptStringA within a param of another function it will not work.
AddEntry(1,3,iniFile.GetValueB("TEST",VMProtectDecryptStringA("Test1")));
AddEntry(2,3,iniFile.GetValueB("TEST",VMProtectDecryptStringA("Test123")));