On 10.07.2024 at 11:45, AlexPeshkoff wrote:
> Tried - runs w/o errors (after removing '/3054' after 'localhost')
> [...]
>> Running my changes i get the following error.
>> ** Attaching to service manager...
>> ** Demo of querying information about server version...
>> Server version: LI-V4.0.4.3010 Firebird 4.0
>> ** Demo of running utility using service manager...
>> *Internal error when using clumplet API: attempt to store 264 bytes in a
>> clumplet with maximum size 255 bytes*
>> [...]
Just a wild guess. Could it be that the error is in fact caused by
another error (thrown by IService), which requires more than 255
characters to get string-formatted and IUtil::formatStatus (line 176)
complains about it this way? Maybe a quick test with buf[512] instead of
buf[256] would confirm or deny it?
I don't know in what possible contexts the "clumplet" term is used in FB
code (whether a buffer passed to formatStatus is a clumplet or not).
Anyway, that's something I only vaguely suspect, but might be worth trying.
regards
Tomasz