Hello all,
Not finding any pascal example, I modified the procedure example
"gen_rows" with the changes "IUdrFunctionFactoryImpl",
But I get the error "UDR plugin entry point not found".
//-//
function int16_bin(status: IStatus;
On 16/11/2016 07:33, Norbert Saint Georges wrote:
> Or can I find a pascal example of a UDR function that is fine?
>
>
https://github.com/asfernandes/fbstuff/tree/master/src/pascal
Adriano
--
Firebird-Devel mailing list
Adriano dos Santos Fernandes a écrit :
> https://github.com/asfernandes/fbstuff/tree/master/src/pascal
>
>
> Adriano
Thanks Adriano,
It was on these sources that I was able to test the procedures(
"gen_rows", which works well.
Except for my error, I do not see any sources on the implementation of
On 16/11/2016 07:44, Norbert Saint Georges wrote:
> Adriano dos Santos Fernandes a écrit :
>> https://github.com/asfernandes/fbstuff/tree/master/src/pascal
>>
>>
>> Adriano
> Thanks Adriano,
> It was on these sources that I was able to test the procedures(
> "gen_rows", which works well.
> Except
Adriano dos Santos Fernandes a écrit :
> You can make a procedure work but cannot make a function work?
>
>
> Adriano
Yes, that's exactly it.
On the basis of the example "gen_rows" I was able to create my own
procedures that work well.
I try to create a UDR function.
UdrPlugin.registerFunction(
On 16/11/2016 08:09, Norbert Saint Georges wrote:
>
> UdrPlugin.registerFunction(status,' int16_bin ',int16Factory.create());
>
>
And you do it with these spaces (' int16_bin ') and expect it to work?
Adriano
--
Firebir
Adriano dos Santos Fernandes a écrit :
> And you do it with these spaces (' int16_bin ') and expect it to work?
>
>
> Adriano
No, there is no space, it must be a copy / paste effect in the mail :-)
--
Norbert Saint Georges
http://tetrasys.fi
On 16/11/2016 08:54, Norbert Saint Georges wrote:
> Adriano dos Santos Fernandes a écrit :
>> And you do it with these spaces (' int16_bin ') and expect it to work?
>>
>>
>> Adriano
> No, there is no space, it must be a copy / paste effect in the mail :-)
>
Anyway, you're not following the procedur
Adriano dos Santos Fernandes a écrit :
> You're exporting the function as you'd did with an UDF (nothing to to
> with UDR). You're registering the function inside this exported function
> (instead of in firebird_udr_plugin)...
Ok, the exports must be grouped in a single declaration per dll.
When y
Hello,
In the
procedure execute(status: IStatus; context: IExternalContext; inMsg:
Pointer; outMsg: Pointer); virtual; abstract;
inMsg and outMsg Pointer to what?
And how to recover it?
--
Norbert Saint Georges
http://tetrasys.fi
---
10 matches
Mail list logo