TagLib::String to char?
Christian EJlertsen
ce at entwined.dk
Thu Mar 27 17:01:10 CET 2008
Thank you all very much that was exactly what i was looking for.
Regards
Christian
> Look in taglib/tstring.h, you can always try using "toCString"...
>
> Cheers,
> Sander
>
> On Thu, Mar 27, 2008 at 10:35 AM, Christian EJlertsen <ce at entwined.dk> wrote:
>
>> Hello Everybody
>> I know this is a newbie coder question so i thank you for your patience
>> in advance,
>> Is there any way to cast convert TagLib::String to a char, const char?
>> If so how could the below look if it should work?
>>
>> --
>> char *buf2 = new char[tag->artist().length()];
>> strcpy(buf2, tagCastedToChar);
>> --
>>
>> Thank you in advance
>> Christian
>>
>>
>>
>> _______________________________________________
>> taglib-devel mailing list
>> taglib-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/taglib-devel
>>
>>
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel
>
More information about the taglib-devel
mailing list