This is a follow on from this thread http://community.thinbasic.com/index...;topicseen#new

This is a question for Charles really.

you said something about copying the string to/from bstr but couldnt that take a lot of time, the string lengths I am planning on working with could be very large or very small.

Does FB have the ability to overlay arrays on top of my imported data.

So if I had

[code=freebasic]DIM input AS STRING

TYPE mydata FIELD = 1
buff( 0 to Len(input)) as ubyte
END TYPE

DIM mystring AS mydata AT STRPTR(input)
[/code]

I know i used cross between TB and FB but you get the idea.

Any help would be useful.