SOLVED: Com Plugin stange issue across host versions

Issues related to VMProtect
Post Reply
bitman2112
Posts: 75
Joined: Wed Oct 30, 2013 5:24 pm

SOLVED: Com Plugin stange issue across host versions

Post by bitman2112 »

Hi everyone.

VMProtect Demo newbie here.

I am protecting a dll that is a plug-in for a 3rd party host application
I have many versions of the 3rd party host application on my disk.

I put my serial.txt in c:\ and am fetching it from that location like so.

char *serial = read_serial((char*)"c:\\serial.txt");

I am not linking with the 3rd party application in any way but my license only
works with the version of the host application that I was using as I waded through the
license system help instructions. in that instance, VMProtectSetSerialNumber(serial) returns
0 as expected

If I run the same protected plugin in a different version of the 3rd party host application
VMProtectSetSerialNumber(serial) returns 2!

I can step through the code, see it open c:\serial.txt just fine.

It it as if somehow some way VMProtect has host app version or otherwise in the serial.
I checked only username and email for protection options as described in the help.

Why might this be happening?
My protected plugin must work under many versions of the host application that are out there in the wild.

:Ron
Last edited by bitman2112 on Wed Oct 30, 2013 7:21 pm, edited 1 time in total.
Admin
Site Admin
Posts: 2686
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Com Plugin stange issue across host versions

Post by Admin »

Could you show a code that reads serial.txt and calls VMProtectSetSerialNumber?
bitman2112
Posts: 75
Joined: Wed Oct 30, 2013 5:24 pm

Re: Com Plugin stange issue across host versions

Post by bitman2112 »

I solved it shortly after posting

Please delete if possible.
Post Reply