Unfortunately, I'm working with a legacy application and can't change the type. I guess that I'll just have to do the loop and keep realloc'ing the memory for the image.
Thanks
Mike
I've looked at the longraw demo. Is their a more direct way to determine the size of a LONG RAW field than looping through the fetch?
do {
Length = GetLongRawQuery->GetLongField(0, &Buffer, Offset, 1500);
Offset = Offset + 1500;
} while (Length >= 1500);