Adam Megacz wrote: >>Assuming you use JvGetStringUTFLength, you'll get a crash, I think. >>>>Cool. Is this because the code emitted for buf[foo] includes a check >to see if (foo + sp > top_of_stack)? > The end of the stack is guarded by a write-protected page. regards Bryce.