Hi Subhobroto,
Vincent Béron wrote:
...} + ////////////////////////////////////////////////////////////////////////////////////// + char szTemp[MAX_PATH]={0};
Please don't use // style comments. Not all C compilers accept them.
Please don't use any features of C++. The above variable declaration is not valid C either (it needs to be at the start of a block).
Mike