Retrieving the Array of strings

Kaustubh Atrawalkar kaustubh.atrawalkar at celunite.com
Thu Jan 11 20:54:58 PST 2007


Havoc Pennington wrote:
>
>
> John (J5) Palmieri wrote:
>>
>> How are you defining appname and apptitle?
>>
>
> If John's suspicions are correct the warning in the docs for 
> dbus_message_iter_append_fixed_array may apply:
> http://dbus.freedesktop.org/doc/dbus/api/html/group__DBusMessage.html#g4f172ebd964e0f698f63295a9eccf520 
>
>
> potentially should add this warning to some of the other functions.
>
> Havoc
>
>
Hi !!

I was defining them as

char appname[];
char apptitle[];


but after your mail i tried to change it to
char *appname;
char *apptitle;

and it worked. But anyway i was retrieving in a variable.. Is that its 
not copying the content..but its copying the pointer ??


More information about the dbus mailing list