Subject | Re: [firebird-support] Re: ERROR UNSUCCESSFUL EXEPTION CAUSED BUT A SYSTEM ERROR FB 2.1.2 |
---|---|
Author | Helen Borrie |
Post date | 2009-05-05T01:40:10Z |
At 11:06 AM 5/05/2009, mike_guzman84 wrote:
Delivered-To: mailing list firebird-support@yahoogroups.com
Date: Fri, 1 May 2009 10:38:30 +0300
Subject: Re: [firebird-support] Error function in FB 2.1
and very annoying for readers.
Regards,
Vlad
------------------------------------
./hb
>From: "Vlad Khorsun" <hvlad@...>
>> This code is complete crap. It looks like you missed everything that
>> Vlad wrote to you.
>> Forget about this dumb UDF, FB 2.1 has build-in functions for this job.
>>
>
>
> first i dont remember is vlad wrote me previosly i dont see any mail from he.
Delivered-To: mailing list firebird-support@yahoogroups.com
Date: Fri, 1 May 2009 10:38:30 +0300
Subject: Re: [firebird-support] Error function in FB 2.1
> 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;You must never use malloc.
> begin
> Result := malloc(SizeOf(TISC_QUAD));
Regards,
Vlad
------------------------------------
> second maybe is a crap the function but in fb 1.5 work good without problems, why in fb 2.1.2 break? this is my doubtLuck that it worked before: 1.5 had a lot of loopholes that have been fixed in later versions.
> third if fb 2.1 had function to convert integers to time, can u show me what function is because in the firebird book no had any function, and google i dont see any example. thx.Read the Appendix in the v.2.1.2 release notes. The Firebird Book, when used without the supplement, does not cover releases > 1.5.
./hb