<br><br><div class="gmail_quote">On Sun, Jul 25, 2010 at 9:48 AM, Rob Withers <span dir="ltr"><<a href="mailto:reefedjib@yahoo.com">reefedjib@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Eliot,<br>
<br>
I am working with OSProcessPlugin. It has not yet been ported to Cog. Under Cygwin, I was able to generate the plugin and compile it. I am confused about how I was able to generate it. The Win32OSProcessPlugin class has methods which state things like:<br>
<br>
self var: 'result' type: 'BOOL'.<br>
self var: 'h' declareC: 'static HANDLE h= 0'.<br>
<br>
I thought this had changed in Cog and we needed to use:<br>
<br>
<var: 'result' type: 'BOOL'><br>
<var: 'h' declareC: 'static HANDLE h= 0'><br>
<br>
as well as:<br>
<br>
<returnTypeC: 'unsigned char *'><br>
<export: true><br>
<static: false><br>
<br>
and so on.<br>
<br>
Do these changes need to be made to make OSProcessPlugin work correctly?<br></blockquote><div><br></div><div>No, they don't have to be made. The Cog VMMaker supports both the old and the new style declarations.</div>
<div><br></div><div>cheers</div><div>Eliot</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Thanks,<br><font color="#888888">
Rob <br>
</font></blockquote></div><br>