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 <thecodewitch@gmail.com> 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.

Greg


------------------------------------------------------------------------------
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: http://p.sf.net/sfu/Challenge
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list