[scilab-Users] C API Hangs
Allan CORNET
allan.cornet at scilab.org
Fri Jul 2 08:05:36 CEST 2010
Hi,
On Windows,
Your path is invalid "/Program Files/scilab-5.2.1/bin/foobar"
With a drive letter, it will be better ;)
Default initialization on Windows is (must be):
StartScilab(NULL,NULL,NULL)
Best regards
Allan CORNET
-----Message d'origine-----
De : Sylvestre Ledru [mailto:sylvestre.ledru at scilab.org]
Envoyé : vendredi 2 juillet 2010 01:28
À : users at lists.scilab.org
Objet : RE: [scilab-Users] C API Hangs
Le jeudi 01 juillet 2010 à 15:22 -0700, Matt Bigarani a écrit :
> Something to add:
>
>
>
> If I change the first param to something other than a directory
>
>
>
> if ( StartScilab("/Program Files/scilab-5.2.1/bin/foobar","/Program
> Files/scilab-5.2.1/etc/scilab.start",NULL) == FALSE )
Here, you must set the path to SCI (under Linux, it is usually
share/scilab/) and set the second arg to NULL.
It should work.
It not, try to start with a debugger to see where it is stuck.
or you can also try to disable the interactive mode by calling the
function
DisableInteractiveMode
Regards,
Sylvestre
More information about the users
mailing list