Hi,<div><br></div><div>The CQi spec just defines the binary protocol used by CQi. To make it work, you need to add code</div><div>that makes a socket to cqpserver, writes the right messages, and serializes/deserializes the data</div>
<div>that is passed around.</div><div>To see an example for this, see the java code at</div><div><a href="http://textometrie.svn.sourceforge.net/viewvc/textometrie/trunk/Toolbox/0.4.7/org.textometrie.toolbox/src/java/org/textometrie/searchengine/cqp/CqiClient.java?revision=1167&amp;view=markup">http://textometrie.svn.sourceforge.net/viewvc/textometrie/trunk/Toolbox/0.4.7/org.textometrie.toolbox/src/java/org/textometrie/searchengine/cqp/CqiClient.java?revision=1167&amp;view=markup</a></div>
<div>Javadoc is at:</div><div><a href="http://textometrie.sourceforge.net/doc/Java/org/textometrie/searchengine/cqp/CqiClient.html">http://textometrie.sourceforge.net/doc/Java/org/textometrie/searchengine/cqp/CqiClient.html</a></div>
<div><br></div><div>Best,</div><div>Yannick</div><div><br><br><div class="gmail_quote">On Mon, Aug 2, 2010 at 8:53 PM, Misko Obrenovic <span dir="ltr">&lt;<a href="mailto:dartonja@gmail.com">dartonja@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br><br>I&#39;m using CWB for the past 7 years, and recently I&#39;ve discovered the new site and this mailing list. You&#39;re doing a great job. I&#39;m interested now in CWB on Windows, so I downloaded  and tested the cwb-3.1.0-windows-i586.zip. I found a new things like cqpserver and CQi, and started to look more information about them. I saw that textometrie project uses it, I read the cqi_tutorial.pdf, then I tried to modify CQi_spec/MakeInterfaces.perl and generate<br>

CQi specification for C# using settings similiar to those for Java. I got a C# class but I don&#39;t know how to use it right. It&#39;s a bunch od constants&#39; definitions (readonly static members to be more precised). I didn&#39;t understand how these constants can be used as methods, but I tried anyway, testing<br>

CTRL_CONNECT(&quot;anonymous&quot;, &quot;&quot;); <br>and, of course, got the message that &quot;it can&#39;t be invoked&quot;. So, I would be much grateful if someone could explain me, or point me some existing documentation that I missed (a short concrete example in C or Java about how to communicate to cqpserver from external application would be the best).<br>

<br>There&#39;s another thing I want to consult you, but I leave it for a separate message.<br><br>Thanks in advance for your help,<br><font color="#888888">Misko<br>
</font><br>_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a><br>
<a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
<br></blockquote></div><br></div>