Em Andamento

Call ".so" from OpenOffice

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

Habilidades: Linux

Ver mais: call file openoffice basic, string library, string b, m string, call work, call source, linux openoffice declare function, openoffice call sub, openoffice declare function lib, starbasic freelance, declare function starbasic, openoffice basic declare dll, function starbasic, openoffice declare linux, openoffice call, openoffice call lib, openoffice declare shared object, call function openofficeorg, openoffice project, object pascal, says, pascal, join them, fedora, exports

Acerca do Empregador:
( 0 comentários ) Tbilisi, Georgia

ID do Projeto: #135441

3 freelancers estão ofertando em média $30 para este trabalho

minch

Please see the PM.

$30 USD em 1 dia
(0 Comentários)
0.0
httprui

Hi, do you call dlerror or sys_err to catch error message? if not or other, could you like let me try

$30 USD em 1 dia
(0 Comentários)
0.0
idiotkid

I can try to help you in remote debugging the problem, if that's okay with you.

$30 USD in 3 dias
(0 Comentários)
0.0