Peculiar Problem
I have a component in VC++ which reads various file formats and after validation inserts some around 40,000 records in the database, and in turn calls some other components.
Sometimes when this component runs and inserts half the record it throws a ComFail Exception and then all my other components stops functioning(related to this module or not) and then at that moment of time I can neither shutdown or restrat my machine. It shows something called "OLE ChannelWind Problem " while shutting down or restarting. I always have to forcefully switch off the power and this problem is always thrown when I run in Windows NT OS. Please note that the same problem is not In Windows 2000.
Now what is this?? Why it happens ?? and What is the remedy??
Please note there is nothing wrong in the code..
Help and suggest......

