<br><font size=2 face="Courier New">> This will always return 4 I think (because a generic "var"</font>
<br><font size=2 face="Courier New">> parameter is simply a pointer to whatever data you are passing</font>
<br><font size=2 face="Courier New">> to the routine).<br>
<br>
> You will have to add an explicit size parameter to your routine</font>
<br><font size=2 face="Courier New">> to solve this.</font>
<br>
<br><font size=2 face="Courier New">Unfortunately, that won't work, primarily because the passed var could be of any size. I'm hoping there's some way to get the actual size of the var itself.</font>
<br>
<br>
<br><font size=2 face="Courier New">Jim</font>