[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby interaction with DLL

Xiangrong Fang

7/16/2005 2:20:00 PM

Hi All,

I am writing some program that need to call a DLL written in Delphi through
Ruby. The problem now is that the return value of the function is of type
"array of Integer" or PDWORD (pointer to a serie of 4-byte Integers).

Could anyone show me what is the "best practice" of converting DLL result
values to Ruby objects? (In this case, cast the memory to the Ruby Array
object whose value is Integer).

Thank you very much in advance.

Shannon