[scilab-Users] C API Hangs

Matt Bigarani matt at westpak.com
Fri Jul 2 01:19:51 CEST 2010


The problem ended up being caused by a toolbox that was unable to load.
After removing the toolbox from Scilab my code runs normally and I can
make API calls. 

 

Unfortunately cout stops working once I call StartScilab...

 

-Matt

 

From: Matt Bigarani [mailto:matt at westpak.com] 
Sent: Thursday, July 01, 2010 3:22 PM
To: users at lists.scilab.org
Subject: RE: [scilab-Users] C API Hangs

 

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 )

{

cout << "Error while calling StartScilab" << endl;

      return;

}

 

I get the error:

Error while calling StartScilab

StartScilab: Could not find the directory /Program
Files/scilab-5.2.1/bin/foobar

 

But I'm still not sure what's causing StartScilab to hang...

 

Thanks,

Matt

 

From: Matt Bigarani [mailto:matt at westpak.com] 
Sent: Thursday, July 01, 2010 2:09 PM
To: users at lists.scilab.org
Subject: [scilab-Users] C API Hangs

 

Hi All,

 

I'm attempting to get some I/O going between an application I'm
developing and Scilab.  (This is on Windows XP using mingw/gcc). I
believe I have all the Scilab headers included properly and my code
compiles, but calling StartScilab(NULL,NULL,NULL); results in the
application hanging indefinitely because StartScilab() never returns...

 

Does anyone have any experience with this?

 

Thanks,

Matt 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20100701/ed87bf63/attachment.htm>


More information about the users mailing list