Cannot implicitly convert between '{0}' and 'PTR' in platform '{1}' because the size of '{0}' does not match the size of 'PTR' for the target platform.
This error occurs when casting a variable to a PTR in the X86 or X64 platform
The only allowed conversions are:
Platform |
Allowed |
X86 |
LONG -> PTR |
X64 |
INT64 -> PTR UINT64->PTR |
All other conversions will produce this error.