Hi Mubarak, Make your definition: typedef void (*PFParamHandler)(short wParamKey, long lDataSize); typedef map<short, PFParamHandler> TParamHandlerTable; And then your... void LoadInfo(short,long); ...should be able to be put in your map. --Eljay PS: you appear to be using some sort of Hungarian notation. The 'w' prefix mean a 'word', which is the natural word size of your machine, represented by 'int' in C/C++. Most modern machines have 32-bit words, some have 64-bit words, and a few specialized hardware systems (such as video GPUs) may have 128-bit or 256-bit words. Are you running on 16-bit hardware?