Subject Re: [firebird-support] Error function in FB 2.1
Author Vlad Khorsun
> HI I HAD A ERROR IN A DB RECENTLY MIGRATED OF FB 1.5 TO FB 2.1, IN A DLL I HAD THIS FUNCTION WHO CALL THE TYPE RECORD.

Are your "Caps Lock" key is locked forever ? Don't use capital letter - it means a scream
and very annoying for readers.


> function MinuteToHour(var M : Integer) : PISC_QUAD;

You forget "cdecl" in function declaration.

> var TempDate : TCTimeStructure; Hr, Mt, S, MS : Word;
> begin
> Result := malloc(SizeOf(TISC_QUAD));

You must never use malloc.

Regards,
Vlad