Subject Re: [firebird-support] udf and iostream problem
Author Aurimas Černius
Hi,

> I have a very simple example of udf library - one function which
> returns always null - and it works fine.
> Just adding the include to iostream makes the library non loadable -
> the error is :
> "Invalid token.
> invalid request BLR at offset 63.
> function F_GETCOMPUTERNAME is not defined.
> module name or entrypoint could not be found."
>
> Please tell me what may go wrong when including the iostream?
>
> //#include<iostream>
>
>
> extern "C"{
>
> char* edb_getComputerName(){
> return 0;
> }
>
> }

Try writing a simple application in C (not C++), that will load this
library dynamically (via dlopen()/LoadLibrary()).


--
Aurimas