Est il possible de faire un truc du genre :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
 
Class Toto
{
 
int               GetData(CString csKey);
const char*  GetData(CString csKey)
 
}
car si j'essaye j'ai un truc du genre :
d:\RATP\Borne_FROM_SCRATCH_210105\CardObj.cpp(170): error C2556: 'const CString CCardData::GetData(CString)' : overloaded function differs only by return type from 'BOOL CCardData::GetData(CString)'
d:\RATP\Borne_FROM_SCRATCH_210105\CardObj.h(87) : see declaration of 'CCardData::GetData'