|
-
Jul 3rd, 2004, 01:35 PM
#1
Thread Starter
Registered User
get stream position
i create a new stream, open an xml file for read,
and use myDataSet.loadXml(mystream)
now, on a separate thread, that runs only while the dataset is being loaded i keep printing stream.getPosition to the screen.
it goes
0
0
0
18234
18234
...
and then it does 18234 about 50 times.. 18234 is the length of the stream.
i guess this has to do with buffering or something, but how the hell can i get the actual position that the stream is being read from, avoiding this error?
any ideas? maybe i should use different objects and methods??
thanks already...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|