Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. Microsoft bug?

Microsoft bug?

Scheduled Pinned Locked Moved Managed C++/CLI
c++helpcsharpquestion
6 Posts 2 Posters 19 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Albert Pascual
    wrote on last edited by
    #1

    I have a C# dll and inside MC++ I tried to use it! #using "mydell.dll" I get this error: fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2844) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information

    A 1 Reply Last reply
    0
    • A Albert Pascual

      I have a C# dll and inside MC++ I tried to use it! #using "mydell.dll" I get this error: fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2844) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information

      A Offline
      A Offline
      Albert Pascual
      wrote on last edited by
      #2

      Confirmed is a bug!!! NOW WHAT? Not work around? I am so mad!!! BUG: "C1001 Internal Compiler" Error Message When You Compile Code with Typename Identifier -------------------------------------------------------------------------------- The information in this article applies to: Microsoft Visual C++ .NET (2002) -------------------------------------------------------------------------------- SYMPTOMS When you attempt to compile the sample code fragment from the "More Information" section of this article, you receive the following compiler error message: t.cpp(16) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2844) CAUSE This behavior occurs if a template class contains a derived member method as a typename identifier. The compiler error message occurs only when you compile the code in a Managed C++ project. You do not receive this error message when you use a native code compiler. STATUS Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATION Steps to Reproduce the Problem Create a new Managed C++ application, and then replace the default code with the following: #include "stdafx.h" class A { public: void FA(); int i; }; class B : public A { public: virtual void FB(); int k; }; template class CLockFunc0 { public: CLockFunc0() : m_pF(pF) {} ~CLockFunc0() {} private: F m_pF; }; CLockFunc0 t1; Compile the program. You receive the error message described in the "Symptoms" section of this article. -------------------------------------------------------------------------------- :mad: :mad:

      A 1 Reply Last reply
      0
      • A Albert Pascual

        Confirmed is a bug!!! NOW WHAT? Not work around? I am so mad!!! BUG: "C1001 Internal Compiler" Error Message When You Compile Code with Typename Identifier -------------------------------------------------------------------------------- The information in this article applies to: Microsoft Visual C++ .NET (2002) -------------------------------------------------------------------------------- SYMPTOMS When you attempt to compile the sample code fragment from the "More Information" section of this article, you receive the following compiler error message: t.cpp(16) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2844) CAUSE This behavior occurs if a template class contains a derived member method as a typename identifier. The compiler error message occurs only when you compile the code in a Managed C++ project. You do not receive this error message when you use a native code compiler. STATUS Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATION Steps to Reproduce the Problem Create a new Managed C++ application, and then replace the default code with the following: #include "stdafx.h" class A { public: void FA(); int i; }; class B : public A { public: virtual void FB(); int k; }; template class CLockFunc0 { public: CLockFunc0() : m_pF(pF) {} ~CLockFunc0() {} private: F m_pF; }; CLockFunc0 t1; Compile the program. You receive the error message described in the "Symptoms" section of this article. -------------------------------------------------------------------------------- :mad: :mad:

        A Offline
        A Offline
        Albert Pascual
        wrote on last edited by
        #3

        After many hours I found the part of my code the crashes the compiler!

        N 1 Reply Last reply
        0
        • A Albert Pascual

          After many hours I found the part of my code the crashes the compiler!

          N Offline
          N Offline
          Nish Nishant
          wrote on last edited by
          #4

          Give us the details Albert :-)


          Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

          A 1 Reply Last reply
          0
          • N Nish Nishant

            Give us the details Albert :-)


            Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

            A Offline
            A Offline
            Albert Pascual
            wrote on last edited by
            #5

            I have received an email from MS letting me know its fixed in the next version of the compiler!

            N 1 Reply Last reply
            0
            • A Albert Pascual

              I have received an email from MS letting me know its fixed in the next version of the compiler!

              N Offline
              N Offline
              Nish Nishant
              wrote on last edited by
              #6

              Albert Pascual wrote: have received an email from MS letting me know its fixed in the next version of the compiler! That's cool! I didnt think MS would this responsive :-) Nish


              Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups