<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#c7edcc>
<DIV><FONT face=Arial>Hi Anas,</FONT></DIV>
<DIV><FONT face=Arial>For an array, "&array == array", so you can just
use</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV>static const char <STRONG>*introspect_xml</STRONG>
=<BR> "<!DOCTYPE node
PUBLIC \"-//freedesktop//DTD D-BUS Object<BR>Introspection
1.0//EN\"\n"<BR>
"
\"<BR><A
href="">http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd\">\n</A>"<BR>
"<node>\n"<BR>
" <interface
name=\"ch.cett.misse.ffmpeg\">\n"<BR>
" <method
name=\"image_rate_get\">\n"<BR>
" <arg name=\"port\" direction=\"out\"
type=\"u\"/>\n"<BR>
"
</method>\n"<BR>
"
</interface>\n"<BR>
"</node>\n";<BR></DIV>
<DIV><FONT face=Arial>instead, </FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial><STRONG>OR</STRONG></FONT></DIV>
<DIV><FONT face=Arial>char *tmPtr = </FONT><FONT
face=·s²Ó©úÅé>introspect_xml;</FONT></DIV>
<DIV>...</DIV>
<DIV>if (!dbus_message_append_args
(reply,<BR>
DBUS_TYPE_STRING, &<FONT face=Arial>tmPtr
</FONT>,<BR>
DBUS_TYPE_INVALID))<BR>
{<BR>
fprintf(stderr, "Out Of
Memory!\n");<BR>
exit(1);<BR> }<BR></DIV>
<DIV><FONT face=Arial>Please take a try ~</FONT></DIV>
<DIV><FONT face=Arial>BR,</FONT></DIV>
<DIV><FONT face=Arial>Edison Lin</FONT></DIV></BODY></HTML>