<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><title>RE : [scilab-Users] scilab 5.2.2 32 bits under Win7 64 bits</title><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Texte de bulles Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.TextedebullesCar
{mso-style-name:"Texte de bulles Car";
mso-style-priority:99;
mso-style-link:"Texte de bulles";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>With Windows Seven, you do not write in c:\ with default user rights.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-->fic=mopen("c:\dummy.txt","a")<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> !--error 999 <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>mopen: Cannot open file c:\dummy.txt.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Allan<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De :</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Collewet Guylaine [mailto:guylaine.collewet@cemagref.fr] <br><b>Envoyé :</b> lundi 13 décembre 2010 10:39<br><b>À :</b> users@lists.scilab.org<br><b>Objet :</b> RE : [scilab-Users] scilab 5.2.2 32 bits under Win7 64 bits<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p style='margin-bottom:12.0pt'><span style='font-size:10.0pt'>Hello,<br><br>I found my mistake<br><br>I forgot that I let the instruction<br><br>fic=fopen("c:\dummy.txt","a");<br>fprintf(fic,"test\n");<br>fclose(fic);<br><br>this instruction did work with windows XP but not with windows 7 ;<br>I guess it is a problem of rights (although I am administrator ...)<br><br><br>Guylaine<br><br><br><br>-------- Message d'origine--------<br>De: Collewet Guylaine [<a href="mailto:guylaine.collewet@cemagref.fr">mailto:guylaine.collewet@cemagref.fr</a>]<br>Date: ven. 10/12/2010 15:32<br>À: users@lists.scilab.org<br>Objet : RE : [scilab-Users] scilab 5.2.2 32 bits under Win7 64 bits<br><br>thank you for your answer<br><br>my function did work with scilab 5.2.2 under windows XP<br><br>I first tested it without re-building it (the builder had been executed under windows XP) : it failed<br><br>then I run the builder : it seemed to run properly, but the function failed too<br><br>I suppose that the builder generated a 32 bits library since I used visual studio 9.0 installed in the Program Files (x86) directory<br><br>Guylaine<br><br><br><br><br><br>-------- Message d'origine--------<br>De: Allan CORNET [<a href="mailto:allan.cornet@scilab.org">mailto:allan.cornet@scilab.org</a>]<br>Date: ven. 10/12/2010 15:24<br>À: users@lists.scilab.org<br>Objet : RE: [scilab-Users] scilab 5.2.2 32 bits under Win7 64 bits<br><br>Hi,<br><br><br><br>There is no problem to use scilab 32 bits on 64 bit platform Windows.<br><br><br><br>About your functions, please check that:<br><br><br><br>Librairies 32 bits used ONLY with Scilab 32 bits<br><br>Librairies 64 bits used ONLY with Scilab 64 bits<br><br><br><br>You can also try to debug your functions to extend compatibility with 64<br>bits :<br><br><a href="http://wiki.scilab.org/How_to_debug_an_external_source_code_linked_to_scilab">http://wiki.scilab.org/How_to_debug_an_external_source_code_linked_to_scilab</a><br>_with_Visual_Studio<br><br><br><br>Best regards<br><br><br><br>Allan CORNET<br><br><br><br>De : Collewet Guylaine [<a href="mailto:guylaine.collewet@cemagref.fr">mailto:guylaine.collewet@cemagref.fr</a>]<br>Envoyé : vendredi 10 décembre 2010 15:17<br>À : <a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br>Objet : [scilab-Users] scilab 5.2.2 32 bits under Win7 64 bits<br><br><br><br>Hello,<br><br>I am trying to work with scilab 5.2.2 32 bits under Win7 64 bits<br>I have problems with own-written contribs, some functions (especially one<br>written in C++) fail (scilab must be closed)<br><br>is it possible to work with a 32 bits version in my case ?<br>or is it mandatory to work with the 64 bits version<br><br>thanks<br><br>Guylaine Collewet<br><br><br><br></span><o:p></o:p></p></div></body></html>