Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Bases";
Current archive: 2003.05.01;
Download: [xml.tar.bz2];

Down

How to return date from UDF? Find similar branches


Vladislav   (2003-04-14 18:44) [0]

DECLARE EXTERNAL FUNCTION MYDATE
DATE
RETURNS DATE
ENTRY_POINT "TestDate" MODULE_NAME "MyUDF"


I can not understand how to register the type date in the dll itself. With TDateTime refuses to work.

function TestDate( var InDate: TDateTime ): TDateTime; cdecl; export;
begin
Result := InDate + InDate;
end;


??



Vladislav   (2003-04-15 09:21) [1]

And still?



Zacho   (2003-04-15 09:30) [2]

I myself did not write such UDFs, but I can advise you to see http://www.ibase.ru/d_udf.htm



Pages: 1 whole branch

Forum: "Bases";
Current archive: 2003.05.01;
Download: [xml.tar.bz2];

Top





Memory: 0.54 MB
Time: 0.019 c
14-770
Zhirnov Maxim
2003-04-15 10:21
2003.05.01
What is the difference between Celeron and Pentium a?


14-750
Lion_xai
2003-04-14 15:44
2003.05.01
Connect to .....


3-458
Pubert
2003-04-14 11:27
2003.05.01
How to programmatically call the properties window for ConnectionString (ADO)


7-817
SasH_Ok
2003-03-14 06:02
2003.05.01
How much memory does the process take?


7-802
oduvanchik_pro
2003-03-12 15:38
2003.05.01
Work with drivers





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic Indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Spanish swahili Swedish ภาษาไทย turkish Ukrainian urdu Tiếng Việt welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada Khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish