<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transational//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
</HEAD>
<BODY>Hi Mike,<br><br>thank you very much, it helps that it confirms my own results:<br>you're right on my program in c++ with call_scilab effectively I had to use (null,null,0) for initialisation, <br>but when I tried that in the c# it created an error in compiling<br><br>I have a temporary solution, making myself the link between c# and the c++ win32 lib, it works but I would like to use<br>the "official" implementation. <br>I am going to investigate the c# code deeper, I will let you know the result<br><br>by the way have you notice the following behavior?<br>windows: when we launch the first call_scilab "request" it's very slow to react, but in the second "request" it's 10 times faster<br>ubuntu: it's immediatly very fast, faster than the second request in windows<br><br>Have nice day<br>Pascal<br><br><br>---- Message d'origine ----<br>
De : "Mike Page" <mike.pageone@googlemail.com><br>
À : "International users mailing list for Scilab." <users@lists.scilab.org><br>
Objet : Re: [Scilab-users] Pb to launch DotNetScilab C# example project<br>
Date : 15/04/2015 15:19:35 CEST<br>
<br>
<div dir="ltr"><div><div><div>Hi Pascal,<br><br></div>Not sure about DotNet, but some time ago I reported a problem with this API for C (not c#) because the third parameter is specified as int*, but is in fact int. If your compiler is fussy, this could be the problem. Try (NULL, NULL, 0). I found that fixed it for me.<br><br></div>Hope that helps,<br></div>Mike.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 14 April 2015 at 17:53, <span dir="ltr"><<a href="mailto:quantparis@numericable.fr">quantparis@numericable.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>
<div>Hello<br><br>I am on windows 8.1 and visual studio 2010, I am interested in using DotNetScilab with C#, but when I want to run the project given as example<br><br>it stops at<br>// start Scilab engine<br>Scilab_cs_wrapper.StartScilab(null, null, null);<br><br>with the message <br>Attempt to load a program with uncorrect format<br><br>on the same machine, I run a win32 call_scilab program with no problem<br><br>Thanks in advance for any suggestion/help<br>pascal<br><br><br><br><br></div>
<br>_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>
users mailing list<br>
users@lists.scilab.org<br>
http://lists.scilab.org/mailman/listinfo/users<br></BODY></HTML>