Closed

Load shared library from ruby

This project received 5 bids from talented freelancers with an average bid price of $61 USD / hour.

Get free quotes for a project like this
Employer working
Project Budget
$15 - $25 USD / hour
Total Bids
5
Project Description

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?

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online