Hi Mike,

thank you very much, it helps that it confirms my own results:
you're right on my program in c++ with call_scilab effectively I had to use 
(null,null,0) for initialisation, 
but when I tried that in the c# it created an error in compiling

I have a temporary solution, making myself the link between c# and the c++ 
win32 lib, it works but I would like to use
the "official" implementation. 
I am going to investigate the c# code deeper, I will let you know the result

by the way have you notice the following behavior?
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
ubuntu: it's immediatly very fast, faster than the second request in windows

Have nice day
Pascal


---- Message d'origine ----
De : "Mike Page" <[email protected]>
À : "International users mailing list for Scilab." <[email protected]>
Objet : Re: [Scilab-users] Pb to launch DotNetScilab C# example project
Date : 15/04/2015 15:19:35 CEST

Hi Pascal,


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.


Hope that helps,

Mike.



On 14 April 2015 at 17:53, <[email protected]> wrote:

Hello

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

it stops at
// start Scilab engine
Scilab_cs_wrapper.StartScilab(null, null, null);

with the message 
Attempt to load a program with uncorrect format

on the same machine, I run a win32 call_scilab program with no problem

Thanks in advance for any suggestion/help
pascal






_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users




_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to