Ruby interpreter called from delphi DLL?

Please discuss general Delphi programming topics here.

Ruby interpreter called from delphi DLL?

Postby HPW » May 7th, 2006, 6:16 am

For embedding the ruby-interpreters in delphi there is a component under:

http://www.sourcepole.com/sources/software/rubycomp/

With the contained test-application (tests.dpr) it works with no problem to embed the ruby-interpreter (msvcrt-ruby18.dll) and to call ruby functions.

Now I want to call the delphi-form or the interpreter direktly from my own delphi DLL.
(I have tried it without success) :cry:

Has anyone did this with success or has a hint/tip how to get this done?
:?:
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby Kambiz » May 7th, 2006, 1:31 pm

Have you tried RemObjects Pascal Script? It doesn't have any external dependecy such as dll.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby HPW » May 7th, 2006, 2:51 pm

No, but I am also not searching for another scripting language.
I want to dive into ruby, because another system use it as its scripting engine and I want to interface to this system.
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 6 guests

cron