Hi,

you may use the "msgEntry.get_text().c_str()" directly as a paramter for your function as given below. But I also recommend allocating space, as mentioned in the previous reply, Since I am not sure about the scope of the ustring returned by "msgEntry.get_text()"

rfcomm_write(mc3t_bt_dev, msgEntry.get_text().c_str());



_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to