Re:ustring to char*
- From: Erdem Gokhan YILMAZ <gokhan yilmaz havelsan com tr>
- To: gtkmm-list gnome org
- Subject: Re:ustring to char*
- Date: Wed, 04 May 2005 20:30:58 +0300
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());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]