The method used in VisualC++6.0 can not be used in VisualC++.NET. Who can give me a sample?