<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19120"></HEAD>
<BODY>
<DIV><SPAN class=616221714-22092011><FONT color=#0000ff size=2 face=Arial>Sorry 
- I have never used SciCos, so I can't help there.</FONT></SPAN></DIV>
<DIV><SPAN class=616221714-22092011><FONT color=#0000ff size=2 face=Arial>I used 
XML for my configuration.  You can find XML parser libraries on Sourceforge 
and elsewhere.  But you are right, it does make a simple idea into a 
complicated piece of coding.</FONT></SPAN></DIV>
<DIV><SPAN class=616221714-22092011><FONT color=#0000ff size=2 
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=616221714-22092011><FONT color=#0000ff size=2 
face=Arial>Mike.</FONT></SPAN></DIV>
<DIV><SPAN class=616221714-22092011><FONT color=#0000ff size=2 
face=Arial></FONT></SPAN> </DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
  <DIV dir=ltr class=OutlookMessageHeader align=left><FONT size=2 
  face=Tahoma>-----Original Message-----<BR><B>From:</B> azerty azerty 
  [mailto:end48war@yahoo.fr]<BR><B>Sent:</B> 22 September 2011 
  14:56<BR><B>To:</B> users@lists.scilab.org<BR><B>Subject:</B> [scilab-Users] 
  Re : [scilab-Users] shared library<BR><BR></FONT></DIV>
  <DIV 
  style="BACKGROUND-COLOR: #fff; FONT-FAMILY: times new roman, new york, times, serif; COLOR: #000; FONT-SIZE: 12pt">
  <DIV><SPAN>Hi,</SPAN></DIV>
  <DIV><SPAN><BR></SPAN></DIV>
  <DIV><SPAN>Thak Mike, it could be a good idea, I will give a look at this 
  solution. It means that  I have to develop a special parameter file 
  format and the corresponding parser.</SPAN></DIV>
  <DIV><SPAN>But as I use these C functions in XCos, when can I load the new 
  parameters?</SPAN></DIV>
  <DIV><SPAN><BR></SPAN></DIV>
  <DIV><SPAN>Regards,</SPAN></DIV>
  <DIV><SPAN>Benoit</SPAN></DIV>
  <DIV><BR></DIV>
  <DIV 
  style="FONT-FAMILY: 'times new roman', 'new york', times, serif; FONT-SIZE: 12pt">
  <DIV 
  style="FONT-FAMILY: 'times new roman', 'new york', times, serif; FONT-SIZE: 12pt"><FONT 
  size=2 face=Arial>
  <HR SIZE=1>
  <B><SPAN style="FONT-WEIGHT: bold">De :</SPAN></B> Mike Page 
  <Mike@Page-One.Waitrose.com><BR><B><SPAN 
  style="FONT-WEIGHT: bold">À :</SPAN></B> 
  users@lists.scilab.org<BR><B><SPAN style="FONT-WEIGHT: bold">Envoyé le 
  :</SPAN></B> Mercredi 21 Septembre 2011 10h42<BR><B><SPAN 
  style="FONT-WEIGHT: bold">Objet :</SPAN></B> RE: [scilab-Users] shared 
  library<BR></FONT><BR>
  <DIV id=yiv1280327982> 
  <DIV><SPAN class=yiv1280327982437324008-21092011><FONT color=#0000ff size=2 
  face=Arial>Hi Benoit,</FONT></SPAN></DIV>
  <DIV><SPAN class=yiv1280327982437324008-21092011><FONT color=#0000ff size=2 
  face=Arial></FONT></SPAN> </DIV>
  <DIV><SPAN class=yiv1280327982437324008-21092011><FONT color=#0000ff size=2 
  face=Arial>I had a similar problem.  I created the library with a fixed 
  (default) parameter file and had a function to read a separate configuration 
  file that overwrites the defaults.  That worked for me - maybe it might 
  solve your problem too?</FONT></SPAN></DIV>
  <DIV><SPAN class=yiv1280327982437324008-21092011><FONT color=#0000ff size=2 
  face=Arial></FONT></SPAN> </DIV>
  <DIV><SPAN class=yiv1280327982437324008-21092011><FONT color=#0000ff size=2 
  face=Arial>HTH</FONT></SPAN></DIV>
  <DIV><SPAN class=yiv1280327982437324008-21092011><FONT color=#0000ff size=2 
  face=Arial>Mike.</FONT></SPAN></DIV>
  <DIV><SPAN class=yiv1280327982437324008-21092011><FONT color=#0000ff size=2 
  face=Arial></FONT></SPAN> </DIV>
  <BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
    <DIV dir=ltr class=yiv1280327982OutlookMessageHeader align=left><FONT size=2 
    face=Tahoma>-----Original Message-----<BR><B>From:</B> azerty azerty 
    [mailto:end48war@yahoo.fr]<BR><B>Sent:</B> 21 September 2011 
    09:37<BR><B>To:</B> users@lists.scilab.org<BR><B>Subject:</B> [scilab-Users] 
    shared library<BR><BR></FONT></DIV>
    <DIV 
    style="BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: 'times new roman', 'new york', times, serif; COLOR: rgb(0,0,0); FONT-SIZE: 12pt">
    <DIV>Hi,</DIV>
    <DIV><BR></DIV>
    <DIV>I've got a problem creating C code shared libraries under Scilab. I've 
    got several functions separated in several .c files. Another .c file 
    contains all the parameters used in my functions.</DIV>
    <DIV>I'd like to distribute my functions in one library (closed) and leave 
    the file with parameters accessible (to be able to modifiy these parameters 
    to make several tests). I can't find a solution to create the library 
    without the parameter file and compile the parameter file separately and 
    link everything together.</DIV>
    <DIV>Any idea would be appreciated.</DIV>
    <DIV><BR></DIV>
    <DIV>Best regards,</DIV>
    <DIV>Benoit 
Lalande</DIV></DIV></BLOCKQUOTE></DIV><BR><BR></DIV></DIV></DIV></BLOCKQUOTE></BODY></HTML>