<br><font size=2 face="sans-serif">Tim,</font>
<br>
<br><font size=2 face="sans-serif">I don't know about VMMaker being all that simple. &nbsp;The bit about not actually cleaning out the build tree before VMMaker generates the new C sources on a Windoze machine is quite a problem, and God help you if you inadvertently have an older version of the platform specific (i.e. Windows) stuff in there that doesn't match up with your current version of VMMaker.</font>
<br>
<br><font size=2 face="sans-serif">It left such an unpleasant taste in my mouth that I still haven't gone back to try to sort it out. &nbsp;Actually, since I got an iBook G4 to replace my ailing Sony Vaio laptop, I haven't paid much attention to Windows at all, but I do still want to get a usable VM running on my iPaq 2210. &nbsp;Yoshiki's VM's don't seem to play nice with Pocket PC 2003. &nbsp;I always end up having to reset the iPaq to get out of Squeak. &nbsp;I suspect it might have something to do with the way he initializes GAPI.</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -Dean</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Tim Rowledge &lt;tim@rowledge.org&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: squeak-dev-bounces@lists.squeakfoundation.org</font>
<p><font size=1 face="sans-serif">05/10/2005 03:22 PM</font>
<br><font size=1 face="sans-serif">Please respond to The general-purpose Squeak developers list</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;squeak-dev@lists.squeakfoundation.org</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;Re: Re[2]: Set a files timestamp or copy a file with identical date</font></table>
<br>
<br>
<br><font size=2 face="Courier New">Herbert König &lt;herbertkoenig@gmx.net&gt; wrote:<br>
<br>
<br>
&gt; TR&gt; For usage, scan the VMMaker code for<br>
&gt; TR&gt; VMMaker&gt;primitiveCopyFileNamed:to: for<br>
&gt; TR&gt; example.<br>
&gt; <br>
&gt; I've understood that I need to find the (slang? C?) code for the<br>
&gt; primitive, so where can that be found?<br>
The function you need is in a vm plugin, so code for it will exist in two<br>
places[*].<br>
a) the Slang code that is part of the VMMaker package. In particular, look for<br>
the FileCopyPlugin class. Note that it seems incomplete, but see also...<br>
b) the platforms tree as downloaded from the SVN server, in particular the<br>
platforms/{yourplatform}/plugins/FileCopyPlugin<br>
<br>
Now, as we've mentioned it won't be there for windows yet, so you'd have to<br>
read the other platform implementations to get the idea. All you need to do is<br>
implement sqInt sqCopyFilesizetosize(char *srcName, sqInt srcNameSize, char<br>
*dstName, sqInt dstNameSize) and build the plugin.<br>
<br>
This _ought_ to be doable by reading the relevant swiki pages so please try it<br>
that way and please make notes about what isn't explained etc so we can improve<br>
the doc. Only by outside reviewers providing feedback can it get better.<br>
<br>
&gt; I've read the VMMAKER article on the swiki and for now I fear that<br>
&gt; would be the only way to go?<br>
Why the fear? VMMaker is incredibly simple to use; load it from SqueakMap,<br>
worldmenu&gt;open&gt;vmmaker, press a button. &nbsp;All I could do to make it simpler<br>
would be to pre-press the button for you ;-)<br>
<br>
[*] there are a few plugins whose code is not in the VMMaker package. Nothing<br>
to worry about right now.<br>
<br>
tim<br>
--<br>
Tim Rowledge, tim@rowledge.org, http://www.rowledge.org/tim<br>
Useful random insult:- Nine pence in the shilling.<br>
<br>
</font>
<br>
<br>