Thanks, it works properly.
Mario del Pozo wrote:
jalil <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:
Hi, try:
t_istream& in = db.get_property(stream->get_ref(), 0, 0, LIT_T, L"Size"); cout << "size: " << d_int(in) << endl;
It works but, you can see, it make use of stream instead of io.
-- Mario
Hi everybody, I got a problem when I try to use the function size with d_iostrem. Do you have any idea about this. Thanks
here is my example:
d_ref<d_char_stream> stream = d_char_stream::create_new(&db);
d_iostream io(stream);
io << "Hello, World!";
io.rewind();
io.size(); //when I do that I got a error at runtime err code = -1 //"method not found"
