In a table I have binary field in length of 16.
How do I get value of that field into MyArray: array[0..15] of byte;
I've tried "MSQuery1.FieldByName('...').GetData(@MyArray)", it transfers correct value into MyArray but after the end of procedure I get "Access Violation --- read of address 0x0010..."
What am I doing wrong?
I understand I can get this field AsString and then convert it to byte array, but I would like to avoid unnecessary processing.
Thanks.