Subject | Re: [firebird-support] udf and iostream problem |
---|---|
Author | Aurimas Černius |
Post date | 2010-05-03T10:48:53Z |
Hi,
library dynamically (via dlopen()/LoadLibrary()).
--
Aurimas
> I have a very simple example of udf library - one function whichTry writing a simple application in C (not C++), that will load this
> 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;
> }
>
> }
library dynamically (via dlopen()/LoadLibrary()).
--
Aurimas