version 2021: Unable to cast object of type 'XXXX' to type 'System.IConvertible'

Issues related to VMProtect
Post Reply
weloveayaka
Posts: 58
Joined: Wed Jul 05, 2023 6:21 am

version 2021: Unable to cast object of type 'XXXX' to type 'System.IConvertible'

Post by weloveayaka »

Code: Select all

public static int TestConversions()
{
    int intValue = 42;
    long longValue = intValue; 
    short shortValue = (short)intValue; 
    return (int)(longValue + shortValue);
}
Hello Admin, I finally find out minimal code to reproduce this problem.
Release configuration.
Admin
Site Admin
Posts: 2586
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: version 2021: Unable to cast object of type 'XXXX' to type 'System.IConvertible'

Post by Admin »

Fixed in the 2023 build.
galeondx
Posts: 2
Joined: Mon Jul 03, 2023 4:07 pm

Re: version 2021: Unable to cast object of type 'XXXX' to type 'System.IConvertible'

Post by galeondx »

i also want to request a new build here since i run into some .Net bugs in build 2001.
thx :)
Admin
Site Admin
Posts: 2586
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: version 2021: Unable to cast object of type 'XXXX' to type 'System.IConvertible'

Post by Admin »

Done.
Post Reply