Hello, I have the following error when compiling my c++ program using GCC. This is my declaration typedef void (ParamRegion::*PFParamHandler)(short wParamKey, long lDataSize); typedef map<short, PFParamHandler> TParamHandlerTable; The usage is m_ParamHandlerTable[ 0 ] = LoadInfo; where LoadInfo is declared as follows void LoadInfo( short, long ); I am getting the following compilation errors: could not convert '__b' to 'void(ParamRegion::*&)(short int, long int)' in passing argument 3 of 'std::pair<_T1, _T2>::pair(const _T1&, const _T2&)[with _T1 = const short int, _T2 = void(ParamRegion::*)(short int, long int)] Please help me. Thanks Mubarak __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com