<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
This module is currently on the forge, and not on the atoms portal,
because it is not ready for the portal. If you look into it, you'll
see that while there is a cpp gateway in the source files (under
sci_gateway), there is no call to the tbx_builder_gateway function
in the builder.sce file. That's why you get a warning.<br>
<br>
What you could do is get the code of ole_automation via git clone,
study the toolbox_skeleton present either in your scilab folder or
on the portal <a
href="http://atoms.scilab.org/toolboxes/toolbox_skeleton">here</a>,
and try to make it work by copying it. Asking the developpers about
it is also a good option.<br>
<br>
Simon<br>
<br>
<div class="moz-cite-prefix">On 10/26/2012 03:27 PM, Wilfried Noell
- private wrote:<br>
</div>
<blockquote
cite="mid:CAN14iEaz2K61M+xTyhPDjEHd364pCOby=TO0uVWS6j7Pc+uvYw@mail.gmail.com"
type="cite">
<p>Hello Everyone,</p>
<div>Recently I switched from Matlab to Scilab and I would like to
keep using my "old" scripts that utilize activex control, a.k.a.
automation.</div>
<div> </div>
<div>I am hence very new to Scilab and have "only" installed the
basic package, i.e. Scilab 5.4.0-64bit.</div>
<div> </div>
<div>I found<a moz-do-not-send="true"
href="http://forge.scilab.org/index.php/p/ole/source/tree/master/">
this very nice ole_automation</a> module from Allan Cornet,
but I just cannot get it to build/run. Here is what I get when
trying to build this module:</div>
<div> </div>
<div><span style="font-family:Courier New">
<div>******************************************************************</div>
->exec('C:\Users\[mypath]\automation\build.txt', -1)<br>
-->//
====================================================================<br>
-->// Allan CORNET <br>
-->// Copyright DIGITEO 2011<br>
-->//
====================================================================<br>
<br>
<br>
-->mode(-1);<br>
Building macros...<br>
-- Creation of [automationlib] (Macros) --<br>
genlib: Processing file: ole_getOlePath.sci<br>
genlib: Processing file: %VARIANT_size.sci<br>
genlib: Processing file: %VARIANT_p.sci<br>
genlib: Processing file: %VARIANT_e.sci<br>
genlib: Processing file: %ptr_p.sci<br>
genlib: Regenerate names and lib<br>
<br>
-->exec('C:\Users\[mypath]\automation\loader.sce', -1)<br>
Start Automation for Scilab<br>
Load gateways<br>
WARNING: automation gateways not loaded.<br>
<br>
-->pWord = ole_actxserver("Word.Application");<br>
!--error 4 <br>
Undefined variable: ole_actxserver</span></div>
<div>******************************************************************</div>
<div> </div>
<div>Again, I am very new to Scilab. Maybe there is a very basic
thing I do not know about building modules.</div>
<div> </div>
<div>Any help would be highly appreciated.</div>
<div> </div>
<div>Thank you!</div>
<div>W.</div>
<div> </div>
<div>- Scilab: 5.4.0 - 64bit</div>
<div>- Win7 - 64bit</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Simon Gareste
Support & Development Engineer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.70
<a class="moz-txt-link-freetext" href="http://www.scilab-enterprises.com">http://www.scilab-enterprises.com</a></pre>
</body>
</html>