[Ecls-list] Calling "load" from si_safe_eval

Greg Santucci thecodewitch at gmail.com
Mon Jul 13 04:54:54 UTC 2009


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 <
jean.claude.beaudoin at gmail.com> 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 <thecodewitch at 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 at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ecls-list
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20090713/47e96543/attachment.html>


More information about the ecl-devel mailing list