Thanks vishvesh, yes I tried that already but as jules said, it makes no diff.
The problem is resolved by now anyway !
Don’t know exactly what happenned, I guess it could have been some cache problem weirdness in my xcode, or need of another clean build etc.
At first, the function was not even called (I’m serious !), but after adding/removing some DBG statments in the function, it now work fine. :mrgreen: Whatever the problem was …
Sorry for the noise !
PS to Jules : concerning the T("") thing, sometimes there’s function like the xml element example :
bool b = myElement->hasTagName ("ANIMALS")
But brings error at my place :
error: no matching function for call to 'juce::XmlElement::hasTagName(char )'
note: candidates are: bool juce::XmlElement::hasTagName(const juce::tchar*) const
But it works when if I write
I found a thread about this (http://www.rawmaterialsoftware.com/viewtopic.php?f=2&t=1310), but error persist whatever I define
#define JUCE_STRINGS_ARE_UNICODE to 1 or 0, or comment it out (in appconfig or juce_amalgamated.cpp).
I would greatly have my code cleaned from all those numerous T("") I use, which make things more cluttered to read (in regards to parenthesis)
Any hint on how you do ?