DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 930198 - Last Review: October 8, 2011 - Revision: 3.0

On This Page

SYMPTOMS

After you install Microsoft Visual Studio 2005 Service Pack 1 (SP1), certain template code does not compile. Additionally, error C2244 occurs.

RESOLUTION

Hotfix information



For more information about the MSDN Code Gallery, visit the following Microsoft Web site:
http://code.msdn.microsoft.com/KB930198 (http://code.msdn.microsoft.com/KB930198)

Prerequisites

You must install Visual Studio 2005 SP1 before you apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Visual Studio 2005, 32-bit versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTime
C1.dll14.0.50727.789630,78409-Jan-200719:37
C1.dll14.0.50727.789950,78410-Jan-200700:53
C1.dll14.0.50727.7891,543,16810-Jan-200700:52
C1.dll14.1.60511.0528,38410-Jan-200708:22
C1.dll14.1.60511.0528,38410-Jan-200708:22
C1.dll14.1.60511.0524,28810-Jan-200708:22
C1.dll14.0.50727.789581,63210-Jan-200700:52
C1.dll14.0.50727.789589,82410-Jan-200700:53
C1ast.dll14.0.50727.789778,24009-Jan-200719:19
C1xx.dll14.0.50727.7893,706,36810-Jan-200700:53
C1xx.dll14.0.50727.7896,529,53610-Jan-200700:52
C1xx.dll14.1.60511.02,146,30410-Jan-200708:22
C1xx.dll14.1.60511.02,146,30410-Jan-200708:22
C1xx.dll14.1.60511.02,138,11210-Jan-200708:22
C1xx.dll14.0.50727.7892,285,56809-Jan-200719:38
C1xx.dll14.0.50727.7892,183,16810-Jan-200700:52
C1xx.dll14.0.50727.7892,191,36010-Jan-200700:53
C1xxast.dll14.0.50727.7892,498,56009-Jan-200719:19
C2.dll14.0.50727.7892,265,08809-Jan-200719:24
C2.dll14.0.50727.7893,596,28810-Jan-200700:53
C2.dll14.0.50727.7897,168,00010-Jan-200700:52
C2.dll14.1.60511.11,298,43210-Jan-200708:22
C2.dll14.1.60511.01,507,32810-Jan-200708:22
C2.dll14.1.60511.01,261,56810-Jan-200708:22
C2.dll14.0.50727.7892,486,27210-Jan-200700:52
C2.dll14.0.50727.7892,199,55210-Jan-200700:53
Pgodb80.dll8.0.50727.78961,44009-Jan-200719:20
Pgodb80.dll8.0.50727.78970,65610-Jan-200700:53
Pgodb80.dll8.0.50727.789130,04810-Jan-200700:52
Pgodb80.dll8.0.50727.78945,05609-Jan-200719:21
Pgodb80.dll8.0.50727.78938,40010-Jan-200700:53
Pgodb80.dll8.0.50727.78981,40810-Jan-200700:52
Visual Studio 2005, Itanium-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
C1.dll14.0.50727.7891,543,16810-Jan-200702:06IA-64
C1xx.dll14.0.50727.7896,529,53610-Jan-200702:06IA-64
C2.dll14.0.50727.7897,168,00010-Jan-200702:05IA-64
Pgodb80.dll8.0.50727.789130,04810-Jan-200702:00IA-64
Pgort80.dll8.0.50727.78981,40810-Jan-200702:00IA-64

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684  (http://support.microsoft.com/kb/824684/ ) Description of the standard terminology that is used to describe Microsoft software updates
For more information about Visual Studio 2005 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:
928957  (http://support.microsoft.com/kb/928957/ ) Visual Studio 2005 Service Pack 1 release notes

Steps to reproduce the problem

  1. Install Visual Studio 2005 SP1.
  2. Start Visual Studio 2005.
  3. On the File menu, click New, and then click Project.
  4. Click Visual C++, click Class Library, type MyTemplates in the Name box, and then click OK.
  5. In Solution Explorer, right-click MyTemplates.cpp, and then click Open.
  6. In the MyTemplates.cpp file, add the following lines of code after the two #include statements.
    template <class T>
    class A
    {
    public:
        typedef int N_A;
    };
    
    template <class T>
    class B : public A<T>
    {
    public:
        typename A<T>::N_A test();
    };
    
    template <class T>
    typename A<T>::N_A B<T>::test()   
    { 
        return 0;
    }
    
  7. On the Build menu, click Rebuild Solution.

APPLIES TO
  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio 2005 Professional Edition
Keywords: 
kbvs2005postsp1fix kbfix kbbug kbqfe KB930198
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support