GenKeyExample returns always UNSUPPORTED_NUMBER_OF_BITS = 2

Issues related to VMProtect
Post Reply
andthe
Posts: 7
Joined: Fri Nov 11, 2022 8:28 pm

GenKeyExample returns always UNSUPPORTED_NUMBER_OF_BITS = 2

Post by andthe »

Dear Admin, I will be very glad if you could help me to understand the GenKeyExample.
When I compile it with Delphi I always a wrong result: UNSUPPORTED_NUMBER_OF_BITS = 2
I can not understand this example if I can not make it useful !!!
Why these parameters are all zero (0)?

//////////////////////////////////////////////////////////////////////////
// !!! this block should be generated by VMProtect License Manager !!! ///
//////////////////////////////////////////////////////////////////////////
g_Algorithm: Longword = ALGORITHM_RSA;
g_nBits: Longword = 0;
g_vModulus: array [0..0] of Byte = (0);
g_vPrivate: array [0..0] of Byte = (0);
g_vProductCode: array [0..0] of Byte = (0);
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////

Please, help me to understand this Example and Thank you !!!
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: GenKeyExample returns always UNSUPPORTED_NUMBER_OF_BITS = 2

Post by Admin »

You have to export your licensing parameters from VMP project to the sources of GenKeyExample:
http://vmpsoft.com/vmprotect/user-manual#export
Post Reply