In Progress

Load shared library from ruby

I have a stupid problem :

require 'dl/import'

dl = DL::dlopen('/root/[url removed, login to view]')

message =""

[url removed, login to view](message)

print message

but i have this error: undefined method

This is the c++ code:

void GetMessage(char* message)

{

char *pTemp = "Hello";

strcpy ( message, pTemp );

}

How i can resolve the problem?

Skills: Ruby on Rails, Software Architecture

See more: ruby shared library, rails print, rails architecture, error ruby on rails, architecture ruby on rails, shared, undefined error code, undefined code, lib code, ruby library, problem library, import method, print library, code library, photo load generate code forum, excel vba code simplex method, load xml code net 2005, ruby rails grid filter example code, vb6 picturebox load pictures code examples, load ilda code window, dealer code mobile method, ruby rails import, setup ruby rails shared web host, java code simplex method, j2ee college library management system source code

About the Employer:
( 5 reviews ) Sannazzaro, Italy

Project ID: #2792919

5 freelancers are bidding on average $61/hour for this job

taro

Altering passed in variable is a bad idea.

$200 USD / hour
(41 Reviews)
7.0
qitsol

We are certified ruby on rails team.

$25 USD / hour
(24 Reviews)
5.1
hbxfnzwpf

Easy, I can fix it in time.

$25 USD / hour
(10 Reviews)
4.2
matthulse

I'll be happy to help you with this problem. I've done a lot of work calling C libraries from Ruby.

$40 USD / hour
(2 Reviews)
2.5
PaulJare

Hi! I will do it for you!

$15 USD / hour
(0 Reviews)
0.0