ravash5000
June 14th, 2002, 11:34 AM
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??
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??