On 14-03-2015 06:56, liviusliv...@poczta.onet.pl wrote: > > few problems > didive library file into two files (initialization is not allowed in library > file itself - only in unit) > change PChar to PAnsiChar > and change 2 declarations of functions and implementation > function open(status: Status; context: ExternalContext; inMsg: Pointer; > outMsg: Pointer): ExternalResultSet; override; > and > function newItem(status: Status; context: ExternalContext; metadata: > RoutineMetadata): ExternalProcedure; override; >
Done. What Delphi version are you using? > and what i should do to tell Firebird to use this dll? > when i try to declare it > Copy the generated DLL to <firebird>/plugins/udr/pascaludr.dll Or adapt the declaration to the DLL name you generated. Adriano ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel