The code I quoted wasn't copied from my app - I wrote it just for the email. I wish it were that simple.

On Mon, Jul 13, 2009 at 3:43 PM, Jean-Claude Beaudoin <> wrote:

Maybe balancing the parentheses would help a bit:

cl_object form = c_string_to_object("(load \"test.lsp\")");

On Mon, Jul 13, 2009 at 12:07 AM, Greg Santucci <> wrote:
I have embedded ECL into my C++ simulation, and I'd like to be able to call "load" from the si_safe_eval function.

When I try the following, the error symbol is returned:

cl_object form = c_string_to_object("(load \"test.lsp\"");
cl_object result = si_safe_eval(3, form, Cnil, g_evalErrorSymbol);

Thank you for your help.


Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at:
Ecls-list mailing list