you could use the function toupper() which is included with the string library instead of using those c style casts
also you could just pass the parameter in your function as a refrence like so:
void conv(string& text)
{
for (int i = 0; i < text.length(); i++)
text[i] = toupper(text[i]);
}
then you can call it: conv(text); instead of text=conv(text);
Theres different ways and this is probably not the best way but i use OLEViewer
Might be confusing but if you have any questions i would be happy to answer
I made it. Its not hard, especially considering itunes com objects, which are barely basic.
Heres an itunes control command i made based on it: http://paste.stirk.org/41772