Subject about external functions
Author Justas Janauskas
hello,

maybe i have to post this message to interbase.borland.com or smth, but
still.....
i have declared my dll, like this:

library datasync;

uses SysUtils, Classes;

function Test(a: Integer): Integer; stdcall;
begin
Result := a * 2;
end;

exports Test;

begin
end.

---------
then copied that dll to winnt\system32, then declared external procedure
like this:
DECLARE EXTERNAL FUNCTION TEST
INTEGER
RETURNS INTEGER FREE_IT
ENTRY_POINT 'test' MODULE_NAME 'datasync.dll';

and when i want to use it, ib raises error "Invalid request BLR at offset
60; function TEST is not defined; module name or entrypoint could not be
found".....
i tried to copy dll to other locations, but result is the same....

can anybody help?

--
Thank you,
Justas