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. MC++?

MC++?

Scheduled Pinned Locked Moved Managed C++/CLI
csharpc++helptutorialquestion
15 Posts 8 Posters 43 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.
  • R Rickard Andersson20

    I just have to know what MC++ is good for? :omg: I mean... I can use the .NET classes in my Visual C++ .NET apps if I use MC++. But why is it god for? I want to learn it because the use of .NET classes in VC++.NET and asking you about a book. Is "Visual C++ .NET Step by Step" a good book about MC++? I think I've heard that before..... HELP NOW!! ps. this is my first message in the MC++ forum and I can bet one dollar about Nish will answer me! :-D (Nish, ANSWER!!!) Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C# and C++!

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

    ****Rickard Andersson wrote: I can bet one dollar about Nish will answer me! (Nish, ANSWER!!!) :-D :-D :-D :-D :-D MC++ allows you to mix managed and unmanaged code. You can write .NET wrappers for unmanaged functions and classes. COM Interop is more efficient in MC++ than in C# because you can use IJW instead of P/Invoke. You can use ATL, WTL, MFC etc. from your MC++ apps. I guess there are other reasons too, but these are what come to mind now! Nish


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

    1 Reply Last reply
    0
    • R Rickard Andersson20

      I just have to know what MC++ is good for? :omg: I mean... I can use the .NET classes in my Visual C++ .NET apps if I use MC++. But why is it god for? I want to learn it because the use of .NET classes in VC++.NET and asking you about a book. Is "Visual C++ .NET Step by Step" a good book about MC++? I think I've heard that before..... HELP NOW!! ps. this is my first message in the MC++ forum and I can bet one dollar about Nish will answer me! :-D (Nish, ANSWER!!!) Rickard Andersson@Suza Computing C# and C++ programmer from SWEDEN! UIN: 50302279 E-Mail: nikado@pc.nu Speciality: I love C# and C++!

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

      Let's not forget the garbage collection. You can stop using "delete" and creating destructors. No more memory leaks or those horrible crashes in memory freed twice! Al:omg: :omg:

      A 1 Reply Last reply
      0
      • M Michael P Butler

        MC++ allows legacy C++ code to be called from .NET applications and for this it is very good. The feeling of calling managed C++ code from a C# application is a wonderous one. The book Visual C++.NET Step by Step is a very good book and it will help you realise why we have MC++ and the power the it holds. I highly recommend it. Michael :-)

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

        Michael P Butler wrote: The book Visual C++.NET Step by Step is a very good book and it will help you realise why we have MC++ and the power the it holds. I highly recommend it. From what I've heard people say about that book, it's more of an MFC book I'd say with a few chapters dedicated to MC++ Nish


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

        J M 2 Replies Last reply
        0
        • N Nish Nishant

          Michael P Butler wrote: The book Visual C++.NET Step by Step is a very good book and it will help you realise why we have MC++ and the power the it holds. I highly recommend it. From what I've heard people say about that book, it's more of an MFC book I'd say with a few chapters dedicated to MC++ Nish


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

          J Offline
          J Offline
          James T Johnson
          wrote on last edited by
          #6

          No, you're thinking of Tom Archer's book, Visual C++.NET Bible; Visual C++.NET Step by Step is an MC++ book. :) James Simplicity Rules!

          N 1 Reply Last reply
          0
          • J James T Johnson

            No, you're thinking of Tom Archer's book, Visual C++.NET Bible; Visual C++.NET Step by Step is an MC++ book. :) James Simplicity Rules!

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

            James T. Johnson wrote: Visual C++.NET Step by Step is an MC++ book. Oh! Sorry :-O


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

            1 Reply Last reply
            0
            • N Nish Nishant

              Michael P Butler wrote: The book Visual C++.NET Step by Step is a very good book and it will help you realise why we have MC++ and the power the it holds. I highly recommend it. From what I've heard people say about that book, it's more of an MFC book I'd say with a few chapters dedicated to MC++ Nish


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

              M Offline
              M Offline
              Michael P Butler
              wrote on last edited by
              #8

              Nish - Native CPian wrote: it's more of an MFC book I'd say with a few chapters dedicated to MC++ Nah, its pure .NET. I can't see any MFC code in the book at all. It does a bit of ATL but only the new Server stuff. A very good book for a C++ programmer wanting to know how they can use their knowledge under .NET Michael :-)

              N 1 Reply Last reply
              0
              • M Michael P Butler

                Nish - Native CPian wrote: it's more of an MFC book I'd say with a few chapters dedicated to MC++ Nah, its pure .NET. I can't see any MFC code in the book at all. It does a bit of ATL but only the new Server stuff. A very good book for a C++ programmer wanting to know how they can use their knowledge under .NET Michael :-)

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

                Michael P Butler wrote: Nah, its pure .NET. I can't see any MFC code in the book at all. It does a bit of ATL but only the new Server stuff. A very good book for a C++ programmer wanting to know how they can use their knowledge under .NET I know, I know. James told me :-) Nish


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

                B 1 Reply Last reply
                0
                • N Nish Nishant

                  Michael P Butler wrote: Nah, its pure .NET. I can't see any MFC code in the book at all. It does a bit of ATL but only the new Server stuff. A very good book for a C++ programmer wanting to know how they can use their knowledge under .NET I know, I know. James told me :-) Nish


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

                  B Offline
                  B Offline
                  Brian Olej
                  wrote on last edited by
                  #10

                  Is MC++ worth learning if I've already started learning C# and do not have any Unmanged code that I need to keep?:confused: I also need some ideas of C++ API's or other programming languages(non .NET) that I could learn. The reason im asking this is becuase I think I need a break from .NET and MFC for a little while.

                  N 1 Reply Last reply
                  0
                  • B Brian Olej

                    Is MC++ worth learning if I've already started learning C# and do not have any Unmanged code that I need to keep?:confused: I also need some ideas of C++ API's or other programming languages(non .NET) that I could learn. The reason im asking this is becuase I think I need a break from .NET and MFC for a little while.

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

                    brian1415 wrote: Is MC++ worth learning if I've already started learning C# and do not have any Unmanged code that I need to keep? Nope! MC++ is nearly unsupported by VS.NET. A lot of things just dont work for MC++ the same way it does for C#. So unless you wanna hand code everything stick to C#. Specially since you don't wanna do any unmanaged stuff! brian1415 wrote: also need some ideas of C++ API's or other programming languages(non .NET) that I could learn. The reason im asking this is becuase I think I need a break from .NET and MFC for a little while. Maybe, ATL? Nish


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

                    B 1 Reply Last reply
                    0
                    • N Nish Nishant

                      brian1415 wrote: Is MC++ worth learning if I've already started learning C# and do not have any Unmanged code that I need to keep? Nope! MC++ is nearly unsupported by VS.NET. A lot of things just dont work for MC++ the same way it does for C#. So unless you wanna hand code everything stick to C#. Specially since you don't wanna do any unmanaged stuff! brian1415 wrote: also need some ideas of C++ API's or other programming languages(non .NET) that I could learn. The reason im asking this is becuase I think I need a break from .NET and MFC for a little while. Maybe, ATL? Nish


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

                      B Offline
                      B Offline
                      Brian Olej
                      wrote on last edited by
                      #12

                      Thanks nish, I know this is the wrong forum for this question but I thought I might as well continue with this thread. What exactly is ATL I know it deals with servers or somthing...:confused:

                      N 1 Reply Last reply
                      0
                      • B Brian Olej

                        Thanks nish, I know this is the wrong forum for this question but I thought I might as well continue with this thread. What exactly is ATL I know it deals with servers or somthing...:confused:

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

                        brian1415 wrote: What exactly is ATL I know it deals with servers or somthing C++ Template based class library that makes COM development easier Nish


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

                        1 Reply Last reply
                        0
                        • A Albert Pascual

                          Let's not forget the garbage collection. You can stop using "delete" and creating destructors. No more memory leaks or those horrible crashes in memory freed twice! Al:omg: :omg:

                          A Offline
                          A Offline
                          Alexandru Savescu
                          wrote on last edited by
                          #14

                          Albert Pascual wrote: Let's not forget the garbage collection. I believe that a good programmer has to be able to manage his/her own memory. I am wondering how much overhead the garbace collection produce? :) Best regards, Alexandru Savescu

                          L 1 Reply Last reply
                          0
                          • A Alexandru Savescu

                            Albert Pascual wrote: Let's not forget the garbage collection. I believe that a good programmer has to be able to manage his/her own memory. I am wondering how much overhead the garbace collection produce? :) Best regards, Alexandru Savescu

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #15

                            I believe a good programmer uses the best tools for the job, and MC++ is a good tool. Al PS Even with the garbage collection is a good idea to manage your memory

                            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