After a little thinking I remembered, http://www.relisoft.com/forum/toast.asp?sub=show&action=posts&fid=1&tid=567 It's just an error report but I think it explains the problem. Nuno Lucas At 09:27 08-07-2002 -0500, you wrote:
I don't know if this is the problem, but I noticed that the problem does indeed involve the 16 byte internal array. When this array is exceeded a memory fault occurs. You don't happen to remember where you read about this, do you? -----Original Message-----
I had read in some place that the string implementation of .NET uses an internal array of 16 chars when the string is small enough and grows only when that isn't enough. This can cause problems for strings created on the stack and passed to external procedures. Can this be the case ? (I don't have .NET so I don't know if this is true).
Nuno Lucas