Available in the LEADTOOLS Imaging toolkit.
LongValue example for C++ 5.0 and later
ILEADRasterVariant_U * pltRasVar=NULL; pltRasVar->PutType(VALUE_LONG); pltRasVar->PutLongValue(500);