I upgraded my system from windows 2000 professional to windows xp and reinstalled MS Visual Studio 6.0. The application developed by me that was working properly now crashes even before it enters into InitInstance and have no clue as to why it is happening so. I tried creating a new application it just worked. Please somebody guide me through this traumatical problem.