Project Detail

Call ".so" from OpenOffice  

Call ".so" from OpenOffice is project number 135441
posted at Freelancer.com. Click here to post your own project.

 

| More Free Trial For New Buyers
 

Status:

Selected Providers: idiotkid

Budget: $30-100

Created: 04/27/2007 at 7:52 EDT

Bid Count: 3

Average Bid:
$ 30

06/01/2007 at 7:52 EDT

Project Creator: ratis
Employer Rating: (No Feedback Yet)

Bid On This Project
 

Description

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


Job Type

Messages Posted:2 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

30

3 days

04-28-2007 04:43 EDT

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

help

 

30

1 day

03-30-2007 14:02 EDT

(No Feedback Yet)

Please see the PM.

help

 

30

1 day

04-01-2007 01:50 EDT

(No Feedback Yet)

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

help


    Bid on this Project