My project is only about:
1. building shared object file which joins two string types (in Fedora)
2. calling this function and getting string type result in openoffice starbasic
I'm waiting for your code for about 30$
thanks in advance
OTHER DETAILS (WHAT I TRIED AND DID NOT WORK)
I need to call shared object - ".so" file with openoffice starbasic
under Linux(Fedora)
I have two string type parameters a-string and b-string and need to join them in shared object file and then
call this function from openoffice starbasic and get result
I have tried thus:
I built *.so file in Kdevelop Multilinual(pascal)
with following source
library oodll;
function oodll_test(a : string; b: string): string; Export; stdcall;
begin
oodll_test := a+b;
end;
exports
oodll_test;
end.
and tried to call oodll_test function from starbasic with following code:
Declare Function oodll_test Lib "/tmp/liboodll.so" (ByVal r As string,byval ff as string) As string
Sub Main
call oodll_test("text1","text2")
End Sub
and the error message says "Basic rutime error, error loading DLL"
it seems something is wrong, maybe there are other ways to make this