<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;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-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><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); color: rgb(0, 0, 0); font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; ">
<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></body></html>