printf("Display _mapInstruments.size() %d\n", _mapInstruments.size());
MAP_INSTRUMENTS::iterator it;
for(it = _mapInstruments.begin(); it != _mapInstruments.end(); it++)
{
//Problem here : VS2005 will never come inside for-loop when the _mapInstruments.size() = 0(nothing inside)
//But in Linux it will always come inside this loop, then it crash because it->second is bad pointer?
printf("check it->second %x\n", (*it).second);
if ((*it).second)
{
printf("Display it->second %x\n", (*it).second);
if (((*it).second->Symbol) == asymbol)
{
afound true;
break;
}
}
}