On Fri Apr 7 12:19:55 2023 +0000, Nikolay Sivov wrote:
Does it work if you simply call Ex() function here with TRUNCATE flag?
I didn't think about going about it this way. It should work except that Ex() function doesn't seem to validate the buffer. It throws an exception on a NULL buffer while the relative doesn't.