Hello John,<br><br>I&#39;m using a recent Squeak VM, version 3.10.2-7179 and I use windows. <br><br>Thank you for the information, I followed the steps you describe. I now discovered that the plugin does work, at least partially. I can download contents using http via the plugin. The method that gives a primitiveFailed error is &quot;Curl curlVersion&quot;. So the general mechanism works only a specific message gives an error. <br>
<br>Jan.<br><br><div class="gmail_quote">On Fri, Jan 23, 2009 at 8:05 PM, John M McIntosh <span dir="ltr">&lt;<a href="mailto:johnmci@smalltalkconsulting.com">johnmci@smalltalkconsulting.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ok, I assume you read <a href="http://wiki.squeak.org/squeak/5865" target="_blank">http://wiki.squeak.org/squeak/5865</a><br>
also you don&#39;t mention what platform (linux, windows, macintosh)<br>
<br>
You only need VMMaker if you want to build a plugin.<br>
<br>
In general to use a third party plugin you need:<br>
<br>
(a) the smalltalk code that talks to the plugin<br>
(b) the DLL<br>
(c) any dynamically linked libraries the plugin relies on.<br>
<br>
In general the primitive call will fail because:<br>
<br>
(a) the VM cannot find the plugin DLL, so ensure the plugin DLL is placed where it can be found.<br>
(b) the plugin DLL cannot find some dynamically linked library, usually plugins are statically linked to reduce this problem.<br>
(c) the plugin startup logic decides some pre-condition or requirment isn&#39;t met, look for log messages.<br>
(d) Plugins are tied to the Squeak callback API version, if you attempt to use a &nbsp;plugin that uses the latest Squeak API against a VM that uses a older Squeak API it &nbsp;will not load. Ensure you use the latest VM since it should support plugins complied today or 10 years back.<br>

(e) On Unix systems beware the permissions on the DLL have to be correct, executable by the user for example.<div><div></div><div class="Wj3C7c"><br>
<br>
On 22-Jan-09, at 1:03 PM, Jan van de Sandt wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello list,<br>
<br>
I want to use the CurlPlugin as a http client. But I cannot find information on how a plugin should be installed/configured. I have loaded the package from SqueakSource using Monticello and I have downloaded the dll&#39;s and stored them in my SqueakVM directory. But when I try to run some code I get a primitive failed error.<br>

<br>
I can find some information on how to create a plugin but not on how to use a plugin developed by someone else. Is the VMMaker package required when you just want to use a plugin? Please help me get started.<br>
<br>
Jan.<br>
<br>
<br>
<br>
</blockquote>
<br></div></div><font color="#888888">
--<br>
===========================================================================<br>
John M. McIntosh &lt;<a href="mailto:johnmci@smalltalkconsulting.com" target="_blank">johnmci@smalltalkconsulting.com</a>&gt;<br>
Corporate Smalltalk Consulting Ltd. &nbsp;<a href="http://www.smalltalkconsulting.com" target="_blank">http://www.smalltalkconsulting.com</a><br>
===========================================================================<br>
<br>
<br>
<br>
<br>
</font></blockquote></div><br>