Yes I am not using MFC. I work in ANSI C. But to implement my problem I dont mind using MFC also.