|
-
June 14th, 2002, 11:34 AM
#1
get_text problem
Take a look at this code, where p_list is a nodelist
BSTR Ext_Data_Tag;
p_list->get_item(0, &_It);
_It->get_text(&Ext_Data_Tag);
ofstream ab_("ab.txt");
ab_ << (char*)Ext_Data_Tag<< endl;
ab_.close();
When I take a look at ab.txt, only the first letter of the data shows up in the file, not all of it. Does anybody know what the problem is??
-
June 15th, 2002, 01:05 PM
#2
never mind
never mind. solved the problem using ->firstchild->text
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
|