Hi,

This question has probably been asked many times elsewhere but I can't find
it on google or I am not searching with the right keywords.

Can someone explain to a beginner how to get the string from char pointer
and then returning the string?

In my IDL my function is: void url (in string u, out string ret);

The generated code:
NS_IMETHODIMP Component::Url(const char *u, char **ud)
{
....
}

Thanks!



_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to